Skip to content

Commit

Permalink
chore: bump GitHub Action versions
Browse files Browse the repository at this point in the history
`actions/checkout@v2` and `actions/cache@v2` currently issue deprecation
warnings during execution about deprecated Node.js version. See also [1].

[1]: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
  • Loading branch information
naglis authored and rdeltour committed Dec 29, 2024
1 parent 9724484 commit 05b9cb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: "Set up Java"
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: "temurin"
cache: 'maven'
- name: "Get Maven dependencies from cache"
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: "Setup Java"
uses: actions/setup-java@v4
with:
Expand All @@ -48,7 +48,7 @@ jobs:
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: "Get Maven dependencies from cache"
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit 05b9cb4

Please sign in to comment.