Skip to content

Commit

Permalink
Set maven to 3.9 in Github workflow (OpenAPITools#15592)
Browse files Browse the repository at this point in the history
* set maven to 3.9

* add java version

* fix maven version

* fix java version
  • Loading branch information
wing328 authored May 22, 2023
1 parent 7881482 commit 605cc7b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Maven
uses: s4u/[email protected]
with:
java-version: ${{ matrix.java }}
maven-version: 3.9.0

- name: Build with Maven
shell: bash
run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml
Expand Down Expand Up @@ -80,6 +86,11 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Maven
uses: s4u/[email protected]
with:
java-version: 11
maven-version: 3.9.0
- name: Download build artifact
uses: actions/download-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
- name: Setup Maven
uses: s4u/[email protected]
with:
java-version: ${{ matrix.java }}
maven-version: 3.9.0
- name: Run maven
run: mvn --no-snapshot-updates --batch-mode --quiet install
env:
Expand Down

0 comments on commit 605cc7b

Please sign in to comment.