File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ release :
9+ name : release ${{ matrix.target }} (with non-required env)
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ target : [x86_64-unknown-linux-musl, x86_64-pc-windows-gnu, x86_64-apple-darwin]
15+ steps :
16+ - uses : actions/checkout@master
17+ - name : Compile and release
18+ uses : rust-build/rust-build.action@latest
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ RUSTTARGET : ${{ matrix.target }}
22+ EXTRA_FILES : " README.md LICENCE"
Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Build
20+ run : cargo build --verbose
21+ - name : Run tests
22+ run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments