Skip to content

Commit

Permalink
Merge pull request #87 from timrogers/timrogers/dry-run
Browse files Browse the repository at this point in the history
Fix "Publish with Cargo in dry-run mode" CI job by setting a dummy version which doesn't already exist
  • Loading branch information
timrogers authored Oct 1, 2024
2 parents dad578e + 9ab7e43 commit 8952469
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ jobs:
components: rustc, cargo
toolchain: nightly
override: true
- name: Install cargo-edit
run: cargo install cargo-edit
- name: Set the version to a dummy version to allow publishing
run: cargo set-version 9.9.9
- name: Publish to Crates.io
run: cargo publish --dry-run
run: cargo publish --dry-run --allow-dirty
create_github_release:
name: Create release with binary assets
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8952469

Please sign in to comment.