mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Delete .github/workflows directory
This commit is contained in:
parent
f2f98722c8
commit
2b6091748d
60
.github/workflows/compile-electron.yml
vendored
60
.github/workflows/compile-electron.yml
vendored
@ -1,60 +0,0 @@
|
|||||||
name: Build SimpliPlay Electron
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: macos-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Node.js 22
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 22
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
working-directory: ./simpliplay # Install dependencies in the correct directory
|
|
||||||
|
|
||||||
- name: Build Electron app
|
|
||||||
run: npm run build
|
|
||||||
working-directory: ./simpliplay # Build the app from the correct directory
|
|
||||||
|
|
||||||
- name: Package Electron app
|
|
||||||
run: |
|
|
||||||
# Build for macOS (universal, x64, arm64)
|
|
||||||
npx electron-builder --mac --arch universal --projectDir ./simpliplay
|
|
||||||
npx electron-builder --mac --arch x64 --projectDir ./simpliplay
|
|
||||||
npx electron-builder --mac --arch arm64 --projectDir ./simpliplay
|
|
||||||
|
|
||||||
# Build for Windows (x64 and arm64)
|
|
||||||
npx electron-builder --win --arch x64 --projectDir ./simpliplay
|
|
||||||
npx electron-builder --win --arch arm64 --projectDir ./simpliplay
|
|
||||||
|
|
||||||
# Build for Linux (x64 and arm64)
|
|
||||||
npx electron-builder --linux --arch x64 --projectDir ./simpliplay
|
|
||||||
npx electron-builder --linux --arch arm64 --projectDir ./simpliplay
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: simpliplay-artifacts
|
|
||||||
path: |
|
|
||||||
simpliplay/dist/*.AppImage
|
|
||||||
simpliplay/dist/*.dmg
|
|
||||||
simpliplay/dist/*.zip
|
|
||||||
simpliplay/dist/*.exe
|
|
||||||
simpliplay/dist/*.msi
|
|
||||||
if-no-files-found: error
|
|
Loading…
Reference in New Issue
Block a user