Skip to content

Commit

Permalink
chore: fix simple error in workflow (#27)
Browse files Browse the repository at this point in the history
cargo exits with a 1 code which makes github actions bork out
  • Loading branch information
bayou-brogrammer authored Jan 28, 2024
1 parent 7006cd3 commit 6e0d1ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:

- name: Install just
run: sudo snap install --edge --classic just

# Cargo returns an exit code of 1 if already installed
- name: Install cargo-release
run: cargo install cargo-release
continue-on-error: true
run: cargo install cargo-release --force

- name: Git setup
run: just cargo-post-release --execute
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:

- name: Install just
run: sudo snap install --edge --classic just

# Cargo returns an exit code of 1 if already installed
- name: Install cargo-release
run: cargo install cargo-release
continue-on-error: true
run: cargo install cargo-release --force

- name: Git setup
run: |
Expand Down

0 comments on commit 6e0d1ac

Please sign in to comment.