Skip to content

Commit

Permalink
update actions to resolve deprecation warnings, and bump OS version
Browse files Browse the repository at this point in the history
(cherry picked from commit c14f5fa)
  • Loading branch information
gemmellr committed Feb 13, 2024
1 parent d5d774f commit 9cd3880
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
java: [ 11, 17, 21 ]

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
Expand All @@ -34,7 +34,7 @@ jobs:

- name: Upload Test Logs On Failure
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: surefire-reports-jdk-${{ matrix.java }}
path: surefire-reports-jdk-${{ matrix.java }}.tar.gz

0 comments on commit 9cd3880

Please sign in to comment.