Try fixing the build pipeline in JDK 17

This commit is contained in:
Kaartic Sivaraam 2023-06-27 23:56:59 +05:30
parent 1911b8b957
commit b0323056e7

View file

@ -12,17 +12,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2.4.0 uses: actions/checkout@v3
- run: ./gradlew build --no-daemon
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v2.5.0 - uses: actions/setup-java@v3
with: with:
distribution: "temurin" distribution: 'temurin'
java-version: 17 java-version: '17'
- name: Cache packages - name: Cache packages
id: cache-packages id: cache-packages
uses: actions/cache@v2.1.7 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -37,7 +38,7 @@ jobs:
- name: AVD cache - name: AVD cache
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: actions/cache@v2 uses: actions/cache@v3
id: avd-cache id: avd-cache
with: with:
path: | path: |