Skip to content

Commit 2b05bc0

Browse files
fix: Fixed CI packaging paths and prevented fail-fast cancellation
1 parent 267a630 commit 2b05bc0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
name: Build for ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
os: [ubuntu-latest, windows-latest, macos-latest]
1819
include:
@@ -57,17 +58,17 @@ jobs:
5758
- name: Package Windows
5859
if: matrix.os == 'windows-latest'
5960
run: |
60-
powershell Compress-Archive -Path build/RadarSim.exe -DestinationPath ${{ matrix.asset_name }}
61+
powershell Compress-Archive -Path build/* -DestinationPath ${{ matrix.asset_name }}
6162
6263
- name: Package Linux
6364
if: matrix.os == 'ubuntu-latest'
6465
run: |
65-
tar -czvf ${{ matrix.asset_name }} -C build/ RadarSim.bin
66+
tar -czvf ${{ matrix.asset_name }} -C build/ .
6667
6768
- name: Package macOS
6869
if: matrix.os == 'macos-latest'
6970
run: |
70-
zip -r ${{ matrix.asset_name }} build/RadarSim.bin
71+
cd build && zip -r ../${{ matrix.asset_name }} .
7172
7273
- name: Upload Artifact
7374
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)