Skip to content

Commit

Permalink
improve build (#516)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored Aug 13, 2023
1 parent 4c00598 commit 8976949
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-build-32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ jobs:
fail-fast: false
matrix:
java: [ '11', '17' ]
maven: [ '3.8.4']
os: [ 'ubuntu-20.04' ]
maven: [ '3.8.6']
os: [ 'ubuntu-22.04' ]
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
if: github.head_ref == ''
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout merge
if: github.head_ref != ''
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: refs/pull/${{github.event.pull_request.number}}/merge

- name: Set up Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository
Expand All @@ -46,13 +46,13 @@ jobs:
${{ runner.os }}-maven-
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Set up Maven ${{ matrix.maven }}
uses: stCarolas/setup-maven@v4.2
uses: stCarolas/setup-maven@v4.5
with:
maven-version: ${{ matrix.maven }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci-build-40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ jobs:
fail-fast: false
matrix:
java: [ '17' ]
maven: [ '3.8.4']
os: [ 'ubuntu-20.04' ]
maven: [ '3.8.6']
os: [ 'ubuntu-22.04' ]
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
if: github.head_ref == ''
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout merge
if: github.head_ref != ''
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: refs/pull/${{github.event.pull_request.number}}/merge

- name: Set up Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository
Expand All @@ -46,13 +46,13 @@ jobs:
${{ runner.os }}-maven-
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Set up Maven ${{ matrix.maven }}
uses: stCarolas/setup-maven@v4.2
uses: stCarolas/setup-maven@v4.5
with:
maven-version: ${{ matrix.maven }}

Expand Down

0 comments on commit 8976949

Please sign in to comment.