Skip to content

Commit 00c12aa

Browse files
committed
Update release electron action
1 parent 8b6cb9c commit 00c12aa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release-electron.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,24 @@ jobs:
3131
- name: Zip the build (Linux)
3232
run: |
3333
ZIP_NAME="linux.zip"
34-
zip -r "$ZIP_NAME" out-desktop
34+
cd out-desktop
35+
zip -r "../$ZIP_NAME" .
3536
shell: bash
3637
if: runner.os == 'Linux'
3738

3839
- name: Zip the build (Windows)
3940
run: |
4041
$ZIP_NAME = "windows-x64.zip"
41-
Compress-Archive -Path out-desktop -DestinationPath $ZIP_NAME
42+
cd out-desktop
43+
Compress-Archive -Path . -DestinationPath "../$ZIP_NAME" -Force
4244
shell: pwsh
4345
if: runner.os == 'Windows'
4446

4547
- name: Zip the build (macOS)
4648
run: |
4749
ZIP_NAME="macos.zip"
48-
zip -r "$ZIP_NAME" out-desktop
50+
cd out-desktop
51+
zip -r "../$ZIP_NAME" .
4952
shell: bash
5053
if: runner.os == 'macOS'
5154

0 commit comments

Comments
 (0)