Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 24, 2024
1 parent de12cb8 commit e83ec1d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install cargo-release
run: cargo install cargo-release
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Install `cargo-release` from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-release
- name: Publish crates (dry run)
run: make check-release

Expand All @@ -41,10 +44,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install cargo-release
run: cargo install cargo-release
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Install `cargo-release` from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-release
- name: Publish crates
run: yes | make release
env:
Expand Down

0 comments on commit e83ec1d

Please sign in to comment.