diff --git a/.github/workflows/compile-electron.yml b/.github/workflows/compile-electron.yml deleted file mode 100644 index 3a32be6..0000000 --- a/.github/workflows/compile-electron.yml +++ /dev/null @@ -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