Skip to content

Commit a0f2cc7

Browse files
committed
Update release electron action -- add ubuntu and macos
1 parent 324e375 commit a0f2cc7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release-electron.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
os: [windows-latest]
9+
os: [windows-latest, ubuntu-latest, macos-latest]
1010
runs-on: ${{ matrix.os }}
1111

1212
steps:
@@ -39,6 +39,13 @@ jobs:
3939
shell: pwsh
4040
if: runner.os == 'Windows'
4141

42+
- name: Zip the build (macOS)
43+
run: |
44+
ZIP_NAME="macos.zip"
45+
zip -r "$ZIP_NAME" out-desktop
46+
shell: bash
47+
if: runner.os == 'macOS'
48+
4249
- name: Create Release Build (Linux)
4350
uses: softprops/action-gh-release@v2
4451
with:
@@ -50,3 +57,9 @@ jobs:
5057
with:
5158
files: windows-x64.zip
5259
if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/')
60+
61+
- name: Create Release Build (macOS)
62+
uses: softprops/action-gh-release@v2
63+
with:
64+
files: macos.zip
65+
if: runner.os == 'macOS' && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)