Skip to content

Commit b5626ed

Browse files
authored
Try to fix auth issues with cargo publish in CI (#3)
1 parent 215ae54 commit b5626ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- master
55
jobs:
6-
test:
6+
publish:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
@@ -17,3 +17,5 @@ jobs:
1717
with:
1818
toolchain: stable
1919
- run: cargo publish
20+
env:
21+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)