File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ release :
3+ types : [created]
4+
5+ jobs :
6+ release :
7+ name : release ${{ matrix.target }}
8+ runs-on : ubuntu-latest
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ include :
13+ - target : x86_64-pc-windows-gnu
14+ archive : zip
15+ - target : x86_64-unknown-linux-musl
16+ archive : tar.gz tar.xz tar.zst
17+ - target : x86_64-apple-darwin
18+ archive : zip
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ submodules : true
23+ - name : Install Protoc
24+ uses : arduino/setup-protoc@v3
25+ # Update references
26+ - name : Git Submodule Update
27+ run : |
28+ git pull --recurse-submodules
29+ git submodule update --remote --recursive
30+ - name : Compile and release
31+ uses : rust-build/rust-build.action@v1.4.5
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ with :
35+ RUSTTARGET : ${{ matrix.target }}
36+ ARCHIVE_TYPES : ${{ matrix.archive }}
You can’t perform that action at this time.
0 commit comments