Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

fix: update JDK version to 21 and uncomment setup step in build workflow #14

fix: update JDK version to 21 and uncomment setup step in build workflow

fix: update JDK version to 21 and uncomment setup step in build workflow #14

Workflow file for this run

name: Build apk
on:
push:
branches:
- feature/deploy
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v4
- name: 🏗 Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: 🏗 Setup Bun
uses: oven-sh/setup-bun@v2
- name: 📝 Create .env file
run: |
echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" >> .env
echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env
- name: 📦 Install dependencies
run: bun install
- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
with:
packager: bun
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 🚀 Build app
run: eas build --platform android --profile production --local --output ${{ github.workspace }}/app-release.apk
- name: GH Release
uses: softprops/action-gh-release@v2
with:
name: gift-idea-tracker
tag_name: 1.0.0
files: |
${{ github.workspace }}/app-release.apk