Skip to content

Commit

Permalink
Add missing git submodule pulls to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden committed Sep 19, 2024
1 parent 0df0680 commit 1aeb316
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: taiki-e/create-gh-release-action@v1
with:
ref: 'refs/tags/${{ needs.setup.outputs.git_tag_name }}'
Expand Down Expand Up @@ -77,6 +79,8 @@ jobs:
os: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: taiki-e/upload-rust-binary-action@v1
with:
ref: refs/tags/${{ needs.setup.outputs.git_tag_name }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
submodules: true

- name: Publish lib to crates.io if it is not published
env:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ build: install
@echo "-------------"
@echo "Running build"
@echo "-------------"
git submodule update --init
cargo build --workspace --verbose --release
cargo deny check || { echo "Dependency version mismatch error"; exit 1; }

Expand Down

0 comments on commit 1aeb316

Please sign in to comment.