mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Create build-simpliplay.yml
This commit is contained in:
parent
9236307c39
commit
9d3b187528
42
.github/workflows/build-simpliplay.yml
vendored
Normal file
42
.github/workflows/build-simpliplay.yml
vendored
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user