From cafb5f4cf26516fdc16d48c61e3825803448f437 Mon Sep 17 00:00:00 2001 From: Ian Roberts Date: Fri, 24 Nov 2023 16:15:57 +0000 Subject: [PATCH] Use a fixed version of Maven to build CI jobs rather than relying on what is installed by default on the runner. Maven 3.9 is not compatible with the GATE DumpCreoleToXML Maven plugin so for the time being we need to be sure we're building on Maven 3.8 --- .github/workflows/ci.yaml | 5 +++++ .github/workflows/pull-request.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 158b9cd..b717337 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,6 +42,11 @@ jobs: distribution: 'zulu' cache: maven + - name: Set up Maven + uses: stCarolas/setup-maven@v4.5 + with: + maven-version: "3.8.8" + # Override http://repo.gate.ac.uk to use https:// instead - name: Configure Maven settings uses: whelk-io/maven-settings-xml-action@v20 diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 0179640..cc4df26 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -20,6 +20,11 @@ jobs: distribution: 'zulu' cache: maven + - name: Set up Maven + uses: stCarolas/setup-maven@v4.5 + with: + maven-version: "3.8.8" + # Override http://repo.gate.ac.uk to use https:// instead - name: Configure Maven settings uses: whelk-io/maven-settings-xml-action@v20