Skip to content

Commit 929767a

Browse files
committed
Add x86_64-linux-musl release
Signed-off-by: Nick Gerace <[email protected]>
1 parent 280a9e7 commit 929767a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,26 @@ jobs:
1313
- os: ubuntu-latest
1414
artifact_name: gfold
1515
asset_name: gfold-linux-gnu-x86-64
16+
target: x86_64-unknown-linux-gnu
17+
- os: ubuntu-latest
18+
artifact_name: gfold
19+
asset_name: gfold-linux-musl-x86-64
20+
target: x86_64-unknown-linux-musl
1621
- os: windows-latest
1722
artifact_name: gfold.exe
1823
asset_name: gfold-windows-x86-64.exe
24+
target: x86_64-pc-windows-msvc
1925
- os: macos-latest
2026
artifact_name: gfold
2127
asset_name: gfold-darwin-aarch64
28+
target: aarch64-apple-darwin
2229
steps:
2330
- uses: actions/checkout@v4
2431
- uses: dtolnay/rust-toolchain@stable
2532
with:
2633
toolchain: stable
27-
- run: cargo build --release --locked
34+
targets: ${{ matrix.target }}
35+
- run: cargo build --release --locked --target ${{ matrix.target }}
2836
- shell: bash
2937
run: |
3038
if [ $(echo ${{ github.ref }} | grep "rc") ]; then
@@ -36,7 +44,7 @@ jobs:
3644
fi
3745
echo $PRERELEASE
3846
39-
mv target/release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
47+
mv target/${{ matrix.target }}/release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
4048
- uses: softprops/action-gh-release@v2
4149
with:
4250
files: ${{ matrix.asset_name }}

0 commit comments

Comments
 (0)