Skip to content

Commit

Permalink
fix: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ansehoon1999 committed Dec 3, 2023
1 parent 352a1a8 commit 04cf9e9
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,21 @@ jobs:
distribution: 'zulu'
cache: gradle

- name: Set up Android SDK
uses: android-actions/setup-android@v2
- name: Bump APK version
uses: chkfung/[email protected]
with:
gradlePath: app/build.gradle.kts
versionCode: ${{ github.run_number }}

- name: Build debug APK
run: ./gradlew assembleDebug
- name: Cache Gradle
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: Set up Android SDK
uses: android-actions/setup-android@v2

0 comments on commit 04cf9e9

Please sign in to comment.