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
|
- name: Set up Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: temurin
|
||||||
java-version: 21
|
java-version: 18
|
||||||
|
|
||||||
- name: Cache Gradle dependencies
|
- name: Cache Gradle dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-18debug-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-18debug
|
||||||
|
|
||||||
# Step 9: Build the APK
|
# Step 9: Build the APK
|
||||||
- name: Build APK
|
- name: Build APK
|
||||||
run: |
|
run: |
|
||||||
cd app-release
|
cd app-release
|
||||||
./gradlew assembleRelease
|
./gradlew assembleDebug
|
||||||
|
|
||||||
- name: Find APK Files
|
- name: Find APK Files
|
||||||
run: find app-release -name "*.apk"
|
run: find app-release -name "*.apk"
|
||||||
|
|
Loading…
Reference in a new issue