Skip to content

Commit 815e5de

Browse files
authored
Create publish.yml GHA
1 parent cca5a7b commit 815e5de

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
main:
6+
name: Publish a new version to crates.io
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions-rs/toolchain@v1
12+
with:
13+
toolchain: stable
14+
override: true
15+
- uses: katyo/publish-crates@v2
16+
with:
17+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)