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 631bf5f commit 6e70dc7Copy full SHA for 6e70dc7
.github/workflows/ci.yml
@@ -26,3 +26,18 @@ jobs:
26
use-cross: true
27
command: build
28
args: --target ${{ matrix.target }}
29
+
30
+ cargo-publish:
31
+ name: Publish to crates.io
32
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
33
+ runs-on: ubuntu-latest
34
+ needs: [build]
35
+ steps:
36
+ - uses: actions/checkout@v2
37
+ - uses: actions-rs/toolchain@v1
38
+ with:
39
+ toolchain: stable
40
+ profile: minimal
41
+ override: true
42
+ - name: Publish
43
+ run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
0 commit comments