Skip to content

Commit

Permalink
upgrade actions versions to latest, fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmellr committed Jan 26, 2024
1 parent 17e7355 commit 834cbde
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
java: [ 11 ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: activemq-artemis-examples

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.m2/repository/
Expand All @@ -45,14 +45,14 @@ 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 Repo (non-main Examples)
if: ${{ (github.event_name == 'pull_request' && github.base_ref != 'main') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ env.ARTEMIS_REPO }}
ref: ${{ env.ARTEMIS_BRANCH }}
Expand Down Expand Up @@ -109,13 +109,13 @@ jobs:
java: [ 11 ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: activemq-artemis-examples

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.m2/repository/
Expand All @@ -124,14 +124,14 @@ 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 Repo (non-main Examples)
if: ${{ (github.event_name == 'pull_request' && github.base_ref != 'main') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ env.ARTEMIS_REPO }}
ref: ${{ env.ARTEMIS_BRANCH }}
Expand Down

0 comments on commit 834cbde

Please sign in to comment.