From 2de540f9f30c7bbadaae12fc24ea895979434c4d Mon Sep 17 00:00:00 2001 From: Max Rumpf Date: Tue, 5 Oct 2021 17:40:17 +0200 Subject: [PATCH] Switch CI to temurin Java distribution, enable Gradle cache via setup-java (#10) --- .github/workflows/extension-publish.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/extension-publish.yaml b/.github/workflows/extension-publish.yaml index 16afa1f..4152afa 100644 --- a/.github/workflows/extension-publish.yaml +++ b/.github/workflows/extension-publish.yaml @@ -20,17 +20,9 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: adopt + distribution: temurin java-version: 11 - - name: Setup Gradle cache - uses: actions/cache@v2.1.6 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- + cache: gradle - name: Build ffmpeg run: ./build.sh - name: Force specific version of cmake to build extension