Skip to content

⬆️ Bump the patch group with 7 updates (#98) #18

⬆️ Bump the patch group with 7 updates (#98)

⬆️ Bump the patch group with 7 updates (#98) #18

Workflow file for this run

name: Android CI
on:
push:
branches: main
jobs:
build_android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Java
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: gradle
# Node
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: 21
cache: pnpm
- run: pnpm install --frozen-lockfile
# Secrets
- run: |
echo 'keyAlias=${{ secrets.KEY_ALIAS }}' >> android/key.properties
echo 'keyPassword=${{ secrets.KEY_PASSWORD }}' >> android/key.properties
echo 'storePassword=${{ secrets.STORE_PASSWORD }}' >> android/key.properties
echo 'storeFile=${{ vars.STORE_FILE }}' >> android/key.properties
echo '${{ secrets.KEY_STORE }}' | base64 --decode > android/app/${{ vars.STORE_FILE }}
# Android SDK
- run: yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --install "build-tools;33.0.2" "platforms;android-33"
# Build
- run: pnpm run build:apk
- uses: actions/upload-artifact@v3
with:
name: app-release
path: android/app/build/outputs/apk/release/app-release.apk
if-no-files-found: error