Skip to content

Commit

Permalink
ci: checkout repository without submodule when building image (#275)
Browse files Browse the repository at this point in the history
Currently, the only submodule in Ronin is tests/testdata, this submodule is not
necessary for building image. This commit removes submodule fetch when checkout
repository for building image to reduce the build time.
  • Loading branch information
minh-bq authored May 12, 2023
1 parent e4f11f3 commit 8727651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
contents: read
packages: write
steps:
- name: 'Checkout Repo With Submodule'
- name: 'Checkout Repo'
uses: 'actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c' #v3.1.0
with:
submodules: true

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
contents: read
packages: write
steps:
- name: 'Checkout Repo With Submodule'
- name: 'Checkout Repo'
uses: 'actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c' #v3.1.0
with:
submodules: true

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down

0 comments on commit 8727651

Please sign in to comment.