From 5e6f38166d0cb6300e8db6e51baa7715676dc75c Mon Sep 17 00:00:00 2001 From: sstone Date: Tue, 30 Jan 2024 14:54:32 +0100 Subject: [PATCH] Update github actions --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc3a042..d1a8372 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,17 +28,17 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] steps: - name: Check out - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: 'true' - name: Cached Konan - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.konan key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} restore-keys: ${{ runner.os }}-konan- - name: Cached Gradle - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} @@ -51,7 +51,7 @@ jobs: echo "ANDROID_NDK_VERSION=25.2.9519653" >> $GITHUB_ENV - name: Cached Android NDK if: matrix.os != 'windows-latest' - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ format('{0}/ndk/{1}', env.ANDROID_HOME, env.ANDROID_NDK_VERSION) }} key: ${{ runner.os }}-android-ndk-${{ env.ANDROID_NDK_VERSION }} @@ -84,8 +84,9 @@ jobs: run: | echo "skip.android=true" > local.properties - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - name: Check JVM if: matrix.os != 'windows-latest'