Skip to content

Commit

Permalink
Align build.yml with the MP Config build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Sep 26, 2024
1 parent e9ed476 commit 45b31ac
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
java: [11, 17]
name: build with jdk ${{matrix.java}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: checkout
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
name: set up jdk ${{matrix.java}}
with:
distribution: temurin
java-version: ${{matrix.java}}
distribution: 'temurin'

- name: build with maven
run: mvn verify
run: |
mvn -q -N io.takari:maven:0.7.7:wrapper -Dmaven=3.9.0 && ./mvnw -v
./mvnw -ntp formatter:validate install

0 comments on commit 45b31ac

Please sign in to comment.