Skip to content

Commit

Permalink
set release workflow not to upload anything unless all builds have be…
Browse files Browse the repository at this point in the history
…en successful
  • Loading branch information
shshemi committed Jun 9, 2024
1 parent 119a382 commit ca0448e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
- name: Test
run: cargo test --all

- name: Publish to crates.io
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}

- name: Install cargo deb
run: cargo install cargo-deb

Expand All @@ -39,6 +36,9 @@ jobs:

- name: Build .rpm package
run: cargo generate-rpm

- name: Publish to crates.io
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}

- name: Upload artifacts to release
uses: AButler/[email protected]
Expand Down

0 comments on commit ca0448e

Please sign in to comment.