Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BilligsterUser committed Mar 29, 2024
1 parent 1b7441a commit 40795a9
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:


build:
name: build-for-android-base-composite
name: build-for-android-base-
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -127,4 +127,29 @@ jobs:
run: npm ci

- name: PreBuild Android
run: npx expo prebuild -p android --clean
run: npx expo prebuild -p android --clean

- name: make gradlew executable
run: chmod +x ./android/gradlew

- name: Build android APK
run: |
cd ./android && ./gradlew assembleRelease --no-daemon --stacktrace
find . -type f -name '*.apk' 2>/dev/null
cd ${{ env.GITHUB_WORKSPACE }}
shell: bash

- name: Save Cache
id: cache-save
uses: actions/cache/save@v4
with:
path: |
~/**/*android*
~/*android*
~/**/*gradle*
~/*gradle*
**/node_modules
./node_modules
**/android
./android
key: ${{ runner.os }}-android-build

0 comments on commit 40795a9

Please sign in to comment.