Update compile-electron.yml

This commit is contained in:
Anirudh Sevugan 2025-02-03 16:51:21 +05:30 committed by GitHub
parent cd15c5e583
commit b7cae26f9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [22] # Use an appropriate Node.js version
node-version: [22] # Node.js version 22, required for Electron 35
include:
- os: ubuntu-latest
target: AppImage
@ -57,14 +57,14 @@ jobs:
- name: Package Electron app
run: |
npx electron-builder --${{ matrix.target }} --arch ${{ matrix.arch }} --projectDir ./simpliplay
npx electron-builder --${{ matrix.os }} --${{ matrix.target }} --arch ${{ matrix.arch }} --projectDir ./simpliplay
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Electron-App-${{ matrix.os }}-${{ matrix.arch }}
name: simpliplay-${{ matrix.os }}-${{ matrix.arch }}
path: |
simpliplay/dist/*.AppImage
simpliplay/dist/*.dmg