File tree Expand file tree Collapse file tree 8 files changed +963
-0
lines changed Expand file tree Collapse file tree 8 files changed +963
-0
lines changed Original file line number Diff line number Diff line change 1+ [build ]
2+ target = " x86_64-unknown-linux-musl"
Original file line number Diff line number Diff line change 1+ name : Build & Release on Tag
2+ on :
3+ push :
4+ tags :
5+ - ' *'
6+ jobs :
7+ build-and-release :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Install MUSL for "x86_64-unknown-linux-musl" target
11+ run : sudo apt install -y musl-tools
12+ - name : Checkout code
13+ uses : actions/checkout@v5
14+ - uses : dtolnay/rust-toolchain@master
15+ with :
16+ toolchain : stable
17+ - name : Add "x86_64-unknown-linux-musl" target
18+ run : rustup target add x86_64-unknown-linux-musl
19+ - uses : Swatinem/rust-cache@v2
20+ with :
21+ key : stable
22+ - name : Build release
23+ run : cargo build --release
24+ - name : Upload release binary as artifact
25+ uses : actions/upload-artifact@v4
26+ with :
27+ name : wav-files-format
28+ path : target/x86_64-unknown-linux-musl/release/wav-files-format
29+ - name : Create GitHub Release & Upload Asset
30+ uses : softprops/action-gh-release@v2
31+ with :
32+ files : target/x86_64-unknown-linux-musl/release/wav-files-format
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ /target
2+ .DS_Store
You can’t perform that action at this time.
0 commit comments