Skip to content

1.4.0

1.4.0 #17

Workflow file for this run

name: Build
on:
push:
tags:
- "v*.*.*"
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Node.js 20.10.0
uses: actions/setup-node@v4
with:
node-version: 20.10.0
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Prebuild
run: npm exec expo -- prebuild --platform android
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: "gradle"
- name: Set up Expo EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build
env:
EXPO_PUBLIC_PARSE_APPLICATION_ID: ${{ secrets.EXPO_PUBLIC_PARSE_APPLICATION_ID }}
EXPO_PUBLIC_PARSE_CLIENT_KEY: ${{ secrets.EXPO_PUBLIC_PARSE_CLIENT_KEY }}
EXPO_PUBLIC_PARSE_SERVER_URL: ${{ secrets.EXPO_PUBLIC_PARSE_SERVER_URL }}
run: npm run build:preview
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "./*.apk"