We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33921af commit d08c53cCopy full SHA for d08c53c
.github/workflows/release.yml
@@ -0,0 +1,38 @@
1
+on:
2
+ release
3
+
4
+name: Release
5
6
+jobs:
7
+ test:
8
+ name: Test
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions-rs/toolchain@v1
13
+ with:
14
+ profile: minimal
15
+ toolchain: stable
16
+ - uses: actions-rs/cargo@v1
17
18
+ command: test
19
20
+ build:
21
+ name: Rust project
22
+ needs: test
23
24
25
26
27
28
29
30
31
32
+ command: build
33
+ args: --release
34
+ - name: Archive Binary
35
+ uses: actions/upload-artifact@v2
36
37
+ name: binary
38
+ path: target/release/pct
0 commit comments