Skip to content

Commit a032cd3

Browse files
committed
release update
1 parent f631eca commit a032cd3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,16 @@ jobs:
3636
- name: Run tests
3737
run: cargo test --release --verbose
3838

39-
- name: Login to crates.io
40-
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
41-
4239
- name: Dry run publish (check only)
4340
run: cargo workspaces publish --dry-run --yes --no-git-commit
41+
env:
42+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
4443

4544
- name: Publish to crates.io
4645
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
4746
run: cargo workspaces publish --yes --no-git-commit
47+
env:
48+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
4849

4950
create-release:
5051
name: Create GitHub Release

0 commit comments

Comments
 (0)