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
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Setup java
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
|
@ -24,26 +25,28 @@ jobs:
|
|||
run: curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
- name: Install app dependencies
|
||||
working-directory: ./dust
|
||||
run: ~/.bun/bin/bun install
|
||||
|
||||
- name: Build project app
|
||||
working-directory: ./dust
|
||||
run: ~/.bun/bin/bun run build-prod
|
||||
|
||||
- name: Capacitor sync
|
||||
working-directory: ./dust
|
||||
run: ~/.bun/bin/bunx cap sync
|
||||
|
||||
- name: Bump version
|
||||
working-directory: ./dust
|
||||
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
|
||||
working-directory: ./dust
|
||||
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
|
||||
working-directory: ./dust
|
||||
run: ls android/app/build/outputs/bundle/release/
|
||||
|
|
Loading…
Add table
Reference in a new issue