From 366a57b1197c870e448f326292fe5244a0c0028c Mon Sep 17 00:00:00 2001 From: brooke Date: Thu, 29 May 2025 12:44:20 -0400 Subject: [PATCH] first commit --- .forgejo/workflows/android.yml | 49 ++++++++++++++++++++++++++++++++++ .gitmodules | 3 +++ dust | 1 + 3 files changed, 53 insertions(+) create mode 100644 .forgejo/workflows/android.yml create mode 100644 .gitmodules create mode 160000 dust diff --git a/.forgejo/workflows/android.yml b/.forgejo/workflows/android.yml new file mode 100644 index 0000000..52a7429 --- /dev/null +++ b/.forgejo/workflows/android.yml @@ -0,0 +1,49 @@ +name: Build Android + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + name: Build APK + runs-on: ubuntu-24.04 + steps: + - name: Checkout source + uses: actions/checkout@v4 + + - name: Setup java + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '21' + + - name: Install bun + run: curl -fsSL https://bun.sh/install | bash + + - name: Install app dependencies + run: bun install + + - name: Build project app + run: bun run build-prod + + - name: Capacitor sync + run: bunx cap sync + + - name: Bump version + uses: https://github.com/chkfung/android-version-actions@v1.2.2 + with: + gradlePath: android/app/build.gradle + versionCode: 2${{github.run_number}} + + - name: Build app bundle + run: cd android && ./gradlew bundle + + - name: Upload release bundle + uses: actions/upload-artifact@v4 + with: + name: app-release + path: android/app/build/outputs/bundle/release/app-release-signed.aab + retention-days: 60 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4b378e4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "dust"] + path = dust + url = https://github.com/damiant/dust.git diff --git a/dust b/dust new file mode 160000 index 0000000..70a646b --- /dev/null +++ b/dust @@ -0,0 +1 @@ +Subproject commit 70a646b16b9a13a190ea97fe57c534acbb507dfc