workflow
This commit is contained in:
parent
443cabd70a
commit
ee0bd2fd2e
1 changed files with 5 additions and 5 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -87,22 +87,22 @@ jobs:
|
|||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 21
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
key: ${{ runner.os }}-gradle-18debug-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
${{ runner.os }}-gradle-18debug
|
||||
|
||||
# Step 9: Build the APK
|
||||
- name: Build APK
|
||||
run: |
|
||||
cd app-release
|
||||
./gradlew assembleRelease
|
||||
./gradlew assembleDebug
|
||||
|
||||
- name: Find APK Files
|
||||
run: find app-release -name "*.apk"
|
||||
|
|
Loading…
Reference in a new issue