Skip to content

Build

Build #16

Workflow file for this run

name: Build
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [windows, macos, ubuntu]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: android-actions/setup-android@v3
- if: matrix.os == 'ubuntu'
run: |
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
- run: |
npm i
npm run adb
npm run server
npm run build
npm run pack
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: |
release/**/*.dmg
release/**/*.exe
release/**/*.AppImage
!release/**/win-unpacked/