Skip to content

Commit 656b3e8

Browse files
committed
fix squash release for arm
1 parent e74bbeb commit 656b3e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,31 @@ jobs:
2121
bin: coman
2222
name: coman-Linux-x86_64-musl.tar.gz
2323
cargo_command: cargo
24+
squash: true
2425

2526
- os_name: Linux-aarch64
2627
os: ubuntu-24.04-arm
2728
target: aarch64-unknown-linux-musl
2829
bin: coman
2930
name: coman-Linux-aarch64-musl.tar.gz
3031
cargo_command: cargo
32+
squash: true
3133

3234
- os_name: Windows-aarch64
3335
os: windows-latest
3436
target: aarch64-pc-windows-msvc
3537
bin: coman.exe
3638
name: coman-Windows-aarch64.zip
3739
cargo_command: cargo
40+
squash: false
3841

3942
- os_name: macOS-x86_64
4043
os: macOS-latest
4144
target: x86_64-apple-darwin
4245
bin: coman
4346
name: coman-Darwin-x86_64.tar.gz
4447
cargo_command: cargo
48+
squash: false
4549

4650
runs-on: ${{ matrix.platform.os }}
4751
steps:
@@ -83,7 +87,7 @@ jobs:
8387
else
8488
tar czvf ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
8589
fi
86-
if [[ "${{ matrix.platform.os }}" == "ubuntu-latest" ]]; then
90+
if [[ "${{ matrix.platform.squash }}" == "true" ]]; then
8791
mksquashfs coman coman_${{matrix.platform.os_name}}.sqsh
8892
fi
8993
cd -

0 commit comments

Comments
 (0)