Files
materialious/.github/workflows/pull-android.yml
T
Lenny Angst 6b82942ec7 Upgrade to Capacitor 7
Necessary workarounds:

- capacitor-navigation-bar: We now directly include a patched version of
  the plugin, as the original repo seems to be unmaintained atm and
  currently. The patched version works with Capacitor 7.
- We need to set the statusbar overlay to false on mount, as true seems
  to be the new default. Otherwise the top menu items would clip into
  the Android statusbar.

Closes #942
2025-08-05 22:14:28 +02:00

47 lines
924 B
YAML

name: Check Android
on:
pull_request:
branches: ["main"]
permissions:
contents: write
jobs:
android-check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./materialious/android
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
- name: Install modules
run: cd ../ && npm install
- name: Build android nodejs packages
run: cd ../static/nodejs-android && npm install
- name: Build package
run: cd ../ && npm run build
- name: Sync package
run: cd ../ && npx cap sync
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "21"
cache: "gradle"
- name: Build App
run: |
bash gradlew assembleRelease
bash gradlew bundleRelease