Skip to content

Commit fd2d26c

Browse files
committed
chore: Add environment to GitHub action for publish to get secrets with Cargo registry token
1 parent b6b2aec commit fd2d26c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cargo-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
publish:
10+
environment: publish
1011
runs-on: ubuntu-latest
1112
env:
1213
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)