Skip to content

Commit cf4fe04

Browse files
authored
use taiki-e for cargo release install (solana-program#74)
1 parent c00f120 commit cf4fe04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ jobs:
9191
cargo-cache-key: cargo-publish-${{ inputs.package_path }}
9292
cargo-cache-fallback-key: cargo-publish
9393

94-
- name: Install Cargo Release
95-
run: which cargo-release || cargo install cargo-release
94+
- name: Install cargo-release
95+
uses: taiki-e/install-action@v2
96+
with:
97+
tool: cargo-release
9698

9799
- name: Ensure CARGO_REGISTRY_TOKEN variable is set
98100
env:

0 commit comments

Comments
 (0)