mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Try fixing the build pipeline in JDK 17
This commit is contained in:
parent
1911b8b957
commit
b0323056e7
1 changed files with 8 additions and 7 deletions
15
.github/workflows/android.yml
vendored
15
.github/workflows/android.yml
vendored
|
|
@ -12,17 +12,18 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2.4.0
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- run: ./gradlew build --no-daemon
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
|
||||
- name: Cache packages
|
||||
id: cache-packages
|
||||
uses: actions/cache@v2.1.7
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
|
|
@ -37,7 +38,7 @@ jobs:
|
|||
|
||||
- name: AVD cache
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
id: avd-cache
|
||||
with:
|
||||
path: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue