GitHub Actions workflow upgrades (#1573)

* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
pull/1576/head
Wouter Born 2022-12-11 16:56:56 +01:00 committed by GitHub
parent 73d4935c7d
commit e77e3f48d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ jobs:
matrix:
java: [ '11', '17' ]
maven: [ '3.8.6' ]
os: [ 'ubuntu-20.04' ]
os: [ 'ubuntu-22.04' ]
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
@ -45,13 +45,13 @@ jobs:
${{ runner.os }}-maven-
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Set up Maven ${{ matrix.maven }}
uses: stCarolas/setup-maven@v4.4
uses: stCarolas/setup-maven@v4.5
with:
maven-version: ${{ matrix.maven }}