We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2734945 commit f3f1b65Copy full SHA for f3f1b65
.github/workflows/publish_crate.yml
@@ -0,0 +1,36 @@
1
+name: Publish on crates.io
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - v*
7
8
+env:
9
+ CARGO_TERM_COLOR: always
10
+ CARGO_INCREMENTAL: 0
11
12
+jobs:
13
+ publish:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v2
20
21
+ - name: Install rust
22
+ uses: actions-rs/toolchain@v1
23
+ with:
24
+ toolchain: stable
25
+ profile: minimal
26
+ override: true
27
28
+ - name: Verify publish crate
29
+ uses: katyo/publish-crates@v1
30
31
+ dry-run: true
32
33
+ - name: Publish crate
34
35
36
+ registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments