Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
authentication fix

authentication fix - token in correct place

fix cargo release installation
  • Loading branch information
iblacksand committed Jan 11, 2024
1 parent b7be835 commit 57c871f
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 57c871f

Please sign in to comment.