update actions to resolve deprecation warnings, and bump OS version
This commit is contained in:
parent
5969c20777
commit
da0287ddba
|
@ -24,20 +24,20 @@ env:
|
|||
jobs:
|
||||
test:
|
||||
name: Test (${{ matrix.java }})
|
||||
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/checkout@v4
|
||||
with:
|
||||
path: activemq-artemis
|
||||
|
||||
- name: Cache Maven Local Repo
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.m2/repository/
|
||||
|
@ -46,7 +46,7 @@ jobs:
|
|||
${{ runner.os }}-mvn-
|
||||
|
||||
- name: Install JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'temurin'
|
||||
|
@ -66,20 +66,20 @@ jobs:
|
|||
|
||||
checks:
|
||||
name: Checks (${{ matrix.java }})
|
||||
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/checkout@v4
|
||||
with:
|
||||
path: activemq-artemis
|
||||
|
||||
- name: Cache Maven Local Repo
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.m2/repository/
|
||||
|
@ -88,13 +88,13 @@ jobs:
|
|||
${{ runner.os }}-mvn-
|
||||
|
||||
- name: Install JDK ${{ matrix.java }}
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Checkout Artemis Examples Repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ env.EXAMPLES_REPO }}
|
||||
ref: ${{ env.EXAMPLES_BRANCH }}
|
||||
|
|
Loading…
Reference in New Issue