File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99permissions :
1010 contents : read
11+ id-token : write
1112
1213jobs :
1314 publish :
1415 name : Publish crate
1516 runs-on : ubuntu-latest
17+ environment : release
1618 steps :
1719 - uses : actions/checkout@v4
1820 - uses : dtolnay/rust-toolchain@stable
5961 run : cargo rustdoc --all-features -- -D missing_docs
6062 - name : Dry run
6163 run : cargo publish --dry-run
62- # Publishing is intentionally disabled until the release owner configures
63- # crates.io publishing outside this repository.
64- # - name: Publish
65- # env:
66- # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
67- # run: cargo publish --no-verify
64+ - name : Authenticate with crates.io
65+ id : auth
66+ uses : rust-lang/crates-io-auth-action@v1
67+ - name : Publish
68+ env :
69+ CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
70+ run : cargo publish --no-verify
You can’t perform that action at this time.
0 commit comments