Skip to content

Commit 45165a8

Browse files
authored
Replace publish-crates action with crates-io-auth action
1 parent a4f34ad commit 45165a8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ jobs:
8383
with:
8484
submodules: recursive
8585
- uses: dtolnay/rust-toolchain@stable
86-
- uses: katyo/publish-crates@v2
87-
with:
88-
token: ${{ secrets.GITHUB_TOKEN }}
89-
args: --allow-dirty
90-
ignore-unpublished-changes: true
86+
- uses: rust-lang/crates-io-auth-action@v1
87+
id: auth
88+
- run: cargo publish --allow-dirty
89+
env:
90+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
9191

9292
github_release:
9393
name: Publish GitHub Release

0 commit comments

Comments
 (0)