Skip to content

Android

Android #24

Workflow file for this run

name: "Android"
on:
workflow_dispatch:
# https://github.com/expo/expo-github-action#publish-on-any-push-to-main
jobs:
build-android:
name: Build Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: yarn install
- name: Build package
run: yarn build:android --local
- uses: WyriHaximus/github-action-get-previous-tag@v1
id: currenttag
- name: Rename AAB
run: mv build-*.aab subadapp-${{ steps.currenttag.outputs.tag }}.aab
- uses: softprops/action-gh-release@v1
with:
files: subadapp-${{ steps.currenttag.outputs.tag }}.aab
tag_name: ${{ steps.currenttag.outputs.tag }}