From 9d3b1875284a3e84e359a1998f05f2851787e554 Mon Sep 17 00:00:00 2001 From: Anirudh Sevugan Date: Sat, 12 Jul 2025 12:09:29 -0500 Subject: [PATCH] Create build-simpliplay.yml --- .github/workflows/build-simpliplay.yml | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/build-simpliplay.yml diff --git a/.github/workflows/build-simpliplay.yml b/.github/workflows/build-simpliplay.yml new file mode 100644 index 0000000..9edf0ec --- /dev/null +++ b/.github/workflows/build-simpliplay.yml @@ -0,0 +1,42 @@ +name: Build Electron App + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: npm ci + + - name: Install extra tools + run: | + brew install wine-stable || true + + - name: Build Electron App + env: + CSC_IDENTITY_AUTO_DISCOVERY: false + run: | + npx electron-builder \ + --mac --x64 --arm64 --universal \ + --linux --x64 --arm64 \ + --win --x64 --arm64 + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: builds + path: dist/