Build #4
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: | |
inputs: | |
os: | |
type: choice | |
description: Operating System | |
required: true | |
options: | |
- windows | |
- ubuntu | |
- macos | |
jobs: | |
build: | |
runs-on: ${{ github.event.inputs.os }}-latest | |
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 | |
- run: | | |
npm i | |
npm run adb | |
npm run server | |
npm run build | |
npm run pack | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ github.event.inputs.os }} | |
path: release/**/*.{dmg,exe} |