Skip to content
Permalink
Browse files
NO-JIRA: Update github actions
Updates OS from Ubuntu 18 to Ubuntu 20
Updates github actions cache, checkout and setup-java to v3
  • Loading branch information
GChuf committed Jul 1, 2022
1 parent ea498e5 commit 0ac764324dbf3cf3141d2e08ce6a0a22db7f9400
Showing 1 changed file with 8 additions and 8 deletions.
@@ -5,18 +5,18 @@ on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: Test (${{ matrix.java }})
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java: [ 11, 17 ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository/
@@ -25,7 +25,7 @@ jobs:
${{ runner.os }}-mvn-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
@@ -44,18 +44,18 @@ jobs:
checks:
name: Checks (${{ matrix.java }})
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java: [ 11, 17 ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository/
@@ -64,7 +64,7 @@ jobs:
${{ runner.os }}-mvn-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'

0 comments on commit 0ac7643

Please sign in to comment.