diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index 27016e00..67d3f036 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -91,8 +91,10 @@ jobs: cargo-cache-key: cargo-publish-${{ inputs.package_path }} cargo-cache-fallback-key: cargo-publish - - name: Install Cargo Release - run: which cargo-release || cargo install cargo-release + - name: Install cargo-release + uses: taiki-e/install-action@v2 + with: + tool: cargo-release - name: Ensure CARGO_REGISTRY_TOKEN variable is set env: