Skip to content

Commit a2cfdb7

Browse files
committed
fix: remove unnecessary zip step
1 parent 791f21c commit a2cfdb7

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/build.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,8 @@ jobs:
4545
- name: Build App
4646
run: npx electron-packager . AES67 --out=release-builds --icon=./assets/icon --arch=${{ matrix.arch }} --platform=${{ matrix.platform }}
4747

48-
- name: Zip Build Folder (Linux/macOS)
49-
if: runner.os != 'Windows'
50-
run: |
51-
folder=$(ls -d release-builds/*)
52-
cd "$folder"
53-
zip -r "../AES67-${{ matrix.platform }}-${{ matrix.arch }}.zip" *
54-
55-
- name: Zip Build Folder (Windows)
56-
if: runner.os == 'Windows'
57-
shell: pwsh
58-
run: |
59-
$folder = Get-ChildItem -Directory -Path release-builds | Select-Object -First 1
60-
Compress-Archive -Path "$($folder.FullName)\*" -DestinationPath "release-builds/AES67-${{ matrix.platform }}-${{ matrix.arch }}.zip"
61-
6248
- name: Upload Artifacts
6349
uses: actions/upload-artifact@v4
6450
with:
6551
name: AES67-${{ matrix.platform }}-${{ matrix.arch }}
66-
path: release-builds/AES67-${{ matrix.platform }}-${{ matrix.arch }}.zip
52+
path: release-builds/AES67-${{ matrix.platform }}-${{ matrix.arch }}

0 commit comments

Comments
 (0)