Skip to content

Commit facdf91

Browse files
authored
Update publish.yml
1 parent 838c992 commit facdf91

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ jobs:
99
name: Publish
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout sources
13-
uses: actions/checkout@v2
14-
- name: Install stable toolchain
15-
uses: actions-rs/toolchain@v1
16-
with:
17-
profile: minimal
12+
- uses: actions/checkout@v3
13+
- uses: actions-rs/toolchain@v1
14+
with:
1815
toolchain: stable
1916
override: true
20-
- run: cargo publish --token ${CARGO_TOKEN}
21-
env:
22-
CRATES_TOKEN: ${{ secrets.CARGO_TOKEN }}
17+
- uses: katyo/publish-crates@v2
18+
with:
19+
registry-token: ${{ secrets.CARGO_TOKEN }}

0 commit comments

Comments
 (0)