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 29235c8 commit a4fd34aCopy full SHA for a4fd34a
.github/workflows/rust.yml renamed to .github/workflows/build-test.yml
@@ -1,4 +1,4 @@
1
-name: Rust
+name: Build and test
2
3
on:
4
push:
@@ -10,7 +10,7 @@ env:
10
CARGO_TERM_COLOR: always
11
12
jobs:
13
- build:
+ build-and-test:
14
15
runs-on: ubuntu-latest
16
.github/workflows/release.yml
@@ -0,0 +1,20 @@
+on:
+ release:
+ types: [created]
+
5
+jobs:
6
7
+ name: release ${{ matrix.target }}
8
+ runs-on: ubuntu-latest
9
+ strategy:
+ fail-fast: false
+ matrix:
+ target: [x86_64-unknown-linux-musl, x86_64-apple-darwin]
+ steps:
+ - uses: actions/checkout@master
+ - name: Compile and release
+ uses: rust-build/[email protected]
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ with:
20
+ RUSTTARGET: ${{ matrix.target }}
0 commit comments