1 file changed
+23
.github/workflows/release.yml
new
+23
@@ -0,0 +1,23 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+
7
+env:
8
+ CARGO_TERM_COLOR: always
9
+
10
+jobs:
11
+ build:
12
+
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - uses: actions-rs/toolchain@v1
18
+ with:
19
+ toolchain: stable
20
+ override: true
21
+ - uses: katyo/publish-crates@v2
22
+ with:
23
+ registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}