We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3350b94 commit ce9d1fdCopy full SHA for ce9d1fd
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish to crates.io
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
13
+ - name: Set up Rust
14
+ uses: actions-rs/toolchain@v1
15
+ with:
16
+ profile: minimal
17
+ toolchain: stable
18
+ override: true
19
20
+ - name: Run tests
21
+ run: cargo test --verbose
22
23
+ - name: Publish to crates.io
24
+ uses: katyo/publish-crates@v2
25
26
+ registry-token: ${{ secrets.CRATES_REGISTRY_TOKEN }}
0 commit comments