Commit e0fc25b
committed
Update GitHub Actions workflow for crate publishing
- Added permissions for id-token to enhance authentication during crate publishing.
- Switched from using `actions-rust-lang/setup-rust-toolchain` to `rust-lang/crates-io-auth-action` for improved token management.
- Updated the environment variable for `CARGO_REGISTRY_TOKEN` to utilize the output from the new authentication step, ensuring secure and efficient publishing.
These changes aim to streamline the release process and maintain security best practices.1 parent 7fa17ae commit e0fc25b
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
72 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | | - | |
75 | | - | |
| 77 | + | |
0 commit comments