From 7111bd7858f156f1cc6553fa4db769bcb34b3224 Mon Sep 17 00:00:00 2001 From: Christoph Fink Date: Thu, 2 Mar 2023 13:58:04 +0200 Subject: [PATCH 1/2] Run on older image, as ubuntu-latest has gradle-8, which fails --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 22691e6d1..2fadec21c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,7 +12,7 @@ on: # - master jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 # Start a separate docker container that we can contact over TCP (for tests) # Apparently there's something tricky going on with the port binding though # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idservices From d691b7b54bd091ed1e38d90a25980e7641ea1200 Mon Sep 17 00:00:00 2001 From: Christoph Fink Date: Thu, 2 Mar 2023 15:52:06 +0200 Subject: [PATCH 2/2] freeze gradle version --- .github/workflows/gradle.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2fadec21c..8541f68f3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,7 +12,7 @@ on: # - master jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # Start a separate docker container that we can contact over TCP (for tests) # Apparently there's something tricky going on with the port binding though # https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idservices @@ -36,6 +36,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Install gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: 7.5.1 - uses: actions/cache@v1 id: cache with: