Skip to content

Commit

Permalink
Add setup maven action, update github actions versions
Browse files Browse the repository at this point in the history
Using specific version of Maven, because latest version doesn't run on jdk7
  • Loading branch information
aleksandr-m committed Feb 14, 2023
1 parent 2d7a792 commit 3327fb5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up JDK 7
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 7

- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.4

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -25,7 +31,7 @@ jobs:
- name: Maven verify
run: mvn -B verify -Prun-its

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: it-build-logs
Expand Down

0 comments on commit 3327fb5

Please sign in to comment.