Skip to content

Commit

Permalink
gha: move crate publish after upload to release
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Oct 26, 2023
1 parent e00a595 commit a9f8e30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
- name: Build
run: cargo build --release

- name: Publish Crate
uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Install cargo-deb
run: cargo install cargo-deb
continue-on-error: true
Expand All @@ -78,6 +72,12 @@ jobs:
with:
name: output-artifact
path: outputs

- name: Publish Crate
uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

macos:
name: Build for Mac
Expand Down

0 comments on commit a9f8e30

Please sign in to comment.