Build #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |