recursively checkout submodules, set working directory
Some checks failed
Build Android / Build APK (push) Failing after 6m27s
Some checks failed
Build Android / Build APK (push) Failing after 6m27s
This commit is contained in:
parent
c17dceb97d
commit
1708535441
1 changed files with 11 additions and 8 deletions
|
@ -11,8 +11,9 @@ jobs:
|
||||||
name: Build APK
|
name: Build APK
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
with:
|
||||||
|
submodules: "recursive"
|
||||||
|
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: https://github.com/actions/setup-java@v4
|
uses: https://github.com/actions/setup-java@v4
|
||||||
|
@ -24,26 +25,28 @@ jobs:
|
||||||
run: curl -fsSL https://bun.sh/install | bash
|
run: curl -fsSL https://bun.sh/install | bash
|
||||||
|
|
||||||
- name: Install app dependencies
|
- name: Install app dependencies
|
||||||
|
working-directory: ./dust
|
||||||
run: ~/.bun/bin/bun install
|
run: ~/.bun/bin/bun install
|
||||||
|
|
||||||
- name: Build project app
|
- name: Build project app
|
||||||
|
working-directory: ./dust
|
||||||
run: ~/.bun/bin/bun run build-prod
|
run: ~/.bun/bin/bun run build-prod
|
||||||
|
|
||||||
- name: Capacitor sync
|
- name: Capacitor sync
|
||||||
|
working-directory: ./dust
|
||||||
run: ~/.bun/bin/bunx cap sync
|
run: ~/.bun/bin/bunx cap sync
|
||||||
|
|
||||||
- name: Bump version
|
- name: Bump version
|
||||||
|
working-directory: ./dust
|
||||||
uses: https://github.com/chkfung/android-version-actions@v1.2.2
|
uses: https://github.com/chkfung/android-version-actions@v1.2.2
|
||||||
with:
|
with:
|
||||||
gradlePath: android/app/build.gradle
|
gradlePath: android/app/build.gradle
|
||||||
versionCode: 2${{github.run_number}}
|
versionCode: 2${{github.run_number}}
|
||||||
|
|
||||||
- name: Build app bundle
|
- name: Build app bundle
|
||||||
|
working-directory: ./dust
|
||||||
run: cd android && ./gradlew bundle
|
run: cd android && ./gradlew bundle
|
||||||
|
|
||||||
- name: Upload release bundle
|
- name: Upload release bundle
|
||||||
uses: actions/upload-artifact@v4
|
working-directory: ./dust
|
||||||
with:
|
run: ls android/app/build/outputs/bundle/release/
|
||||||
name: app-release
|
|
||||||
path: android/app/build/outputs/bundle/release/app-release-signed.aab
|
|
||||||
retention-days: 60
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue