Skip to content

Commit

Permalink
Add build-android workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Nov 22, 2023
1 parent 1f6347a commit 760d8d8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-android.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build Android

on:
workflow_dispatch:
push:
# push:
# tags:
# - v*

jobs:
build:
runs-on: ubuntu-latest
name: Build android
steps:
- name: Checkout
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: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install
run: npm ci
- name: Build
run: npm -w @pikatorrent/app run build:android:production

0 comments on commit 760d8d8

Please sign in to comment.