Skip to content

Commit

Permalink
BXMSPROD-1475 maven version (#1516)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginxo authored Sep 17, 2021
1 parent 0be7a30 commit d93fedf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
strategy:
matrix:
java-version: [8, 11]
maven-version: ['3.8.1']
fail-fast: false
runs-on: ubuntu-latest
name: Maven Build
Expand All @@ -38,18 +39,19 @@ jobs:
run: |
echo "Available storage:"
df -h
- name: Set up JDK
uses: actions/setup-java@v1
- name: Setup Maven And Java Version
uses: s4u/setup-maven-action@v1.2.1
with:
java-version: ${{ matrix.java-version }}
maven-version: ${{ matrix.maven-version }}
# See https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven#caching-dependencies
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-${{ matrix.java-version }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-${{ matrix.java-version }}-m2
- name: Build Chain ${{ matrix.java-version }}
key: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }}-m2
- name: Build Chain ${{ matrix.java-version }}. Maven ${{ matrix.maven-version }}
id: build-chain
uses: kiegroup/[email protected]
with:
Expand Down

0 comments on commit d93fedf

Please sign in to comment.