From a28d50f64784e820595712078b2c6fe65324cebd Mon Sep 17 00:00:00 2001 From: John Elizarraras Date: Thu, 11 Jan 2024 16:45:55 -0600 Subject: [PATCH] fix action authentication fix authentication fix - token in correct place --- .github/workflows/rust.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f725a99..4a0097f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,19 +31,9 @@ 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 - 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 + - uses: taiki-e/install-action@cargo-release - name: cargo login - run: cargo login + run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} - name: "cargo release publish" run: |- cargo release \