Skip to content

Commit

Permalink
ci(frontend): add gradle caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Nov 10, 2023
1 parent ddd3dd0 commit 00786db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ jobs:
run: npm ci
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build web app
Expand All @@ -100,4 +108,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: app-debug-apk
path: frontend/apps/mobile/android/app/build/outputs/apk/debug/app-debug.apk
path: apps/mobile/android/app/build/outputs/apk/debug/app-debug.apk

0 comments on commit 00786db

Please sign in to comment.