Skip to content

Commit 918fe1e

Browse files
committed
Update release electron action
1 parent 00c12aa commit 918fe1e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release-electron.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Electron Release
33
on:
44
push:
55
tags:
6-
- "v*.*.*"
6+
- "v*.*.*"
77

88
jobs:
99
build:
@@ -30,23 +30,23 @@ jobs:
3030
3131
- name: Zip the build (Linux)
3232
run: |
33-
ZIP_NAME="linux.zip"
33+
ZIP_NAME="linux-x64.zip"
3434
cd out-desktop
3535
zip -r "../$ZIP_NAME" .
3636
shell: bash
3737
if: runner.os == 'Linux'
3838

3939
- name: Zip the build (Windows)
4040
run: |
41-
$ZIP_NAME = "windows-x64.zip"
42-
cd out-desktop
43-
Compress-Archive -Path . -DestinationPath "../$ZIP_NAME" -Force
41+
$ZipName = "windows-x64.zip"
42+
Set-Location out-desktop
43+
Compress-Archive -Path * -DestinationPath "../$ZipName" -Force
4444
shell: pwsh
4545
if: runner.os == 'Windows'
4646

4747
- name: Zip the build (macOS)
4848
run: |
49-
ZIP_NAME="macos.zip"
49+
ZIP_NAME="macos-arm64.zip"
5050
cd out-desktop
5151
zip -r "../$ZIP_NAME" .
5252
shell: bash
@@ -55,7 +55,7 @@ jobs:
5555
- name: Create Release Build (Linux)
5656
uses: softprops/action-gh-release@v2
5757
with:
58-
files: linux.zip
58+
files: linux-x64.zip
5959
if: runner.os == 'Linux'
6060

6161
- name: Create Release Build (Windows)
@@ -67,5 +67,5 @@ jobs:
6767
- name: Create Release Build (macOS)
6868
uses: softprops/action-gh-release@v2
6969
with:
70-
files: macos.zip
70+
files: macos-arm64.zip
7171
if: runner.os == 'macOS'

0 commit comments

Comments
 (0)