diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f725a99..bdd99e9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,19 +31,12 @@ jobs: permissions: id-token: write steps: - - name: Install cargo binstall - uses: cargo-bins/cargo-binstall@main - - name: cargo-release Cache - id: cargo_release_cache - uses: actions/cache@v3 + - name: install cargo-release + uses: taiki-e/install-action@v2 with: - path: ~/.cargo/bin/cargo-release - key: ${{ runner.os }}-cargo-release - - name: Install cargo release - if: steps.cargo_release_cache.outputs.cache-hit != 'true' - run: cargo binstall cargo-release + tool: cargo-release - name: cargo login - run: cargo login + run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} - name: "cargo release publish" run: |- cargo release \