Skip to content

Add build-android workflow #1

Add build-android workflow

Add build-android workflow #1

name: Build desktop app & publish it to github release
on:
workflow_dispatch:
# push:
# tags:
# - v*
jobs:
build:
name: Build android
runs-on: ubuntu-latest
strategy:
matrix:
# Build for supported platforms
# https://github.com/electron/electron-packager/blob/ebcbd439ff3e0f6f92fa880ff28a8670a9bcf2ab/src/targets.js#L9
# 32-bit Linux unsupported as of 2019: https://www.electronjs.org/blog/linux-32bit-support
os: [ubuntu-latest]
arch: [x64]
steps:

Check failure on line 20 in .github/workflows/build-android.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-android.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
- 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