Skip to content

Commit

Permalink
Use a fixed version of Maven to build CI jobs rather than relying on …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
ianroberts committed Nov 24, 2023
1 parent f15c9d3 commit cafb5f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
distribution: 'zulu'
cache: maven

- name: Set up Maven
uses: stCarolas/[email protected]
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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
distribution: 'zulu'
cache: maven

- name: Set up Maven
uses: stCarolas/[email protected]
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
Expand Down

0 comments on commit cafb5f4

Please sign in to comment.