Add build-android workflow #3
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 desktop app & publish it to github release | ||
on: | ||
workflow_dispatch: | ||
# push: | ||
# tags: | ||
# - v* | ||
jobs: | ||
build: | ||
name: Build android | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
- name: Install | ||
run: npm ci | ||
- name: build | ||
run: npm -w @pikatorrent/app run build:android:production |