Delete .github/workflows directory

This commit is contained in:
Anirudh Sevugan 2025-02-06 11:17:28 +05:30 committed by GitHub
parent f2f98722c8
commit 2b6091748d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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