Skip to content

Commit 05b9cb4

Browse files
naglisrdeltour
authored andcommitted
chore: bump GitHub Action versions
`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/
1 parent 9724484 commit 05b9cb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/maven-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: "Checkout sources"
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: "Set up Java"
2020
uses: actions/setup-java@v4
2121
with:
2222
java-version: ${{ matrix.java }}
2323
distribution: "temurin"
2424
cache: 'maven'
2525
- name: "Get Maven dependencies from cache"
26-
uses: actions/cache@v2
26+
uses: actions/cache@v4
2727
with:
2828
path: ~/.m2/repository
2929
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: "Checkout sources"
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v4
4242
- name: "Setup Java"
4343
uses: actions/setup-java@v4
4444
with:
@@ -48,7 +48,7 @@ jobs:
4848
server-username: OSSRH_USERNAME
4949
server-password: OSSRH_PASSWORD
5050
- name: "Get Maven dependencies from cache"
51-
uses: actions/cache@v2
51+
uses: actions/cache@v4
5252
with:
5353
path: ~/.m2/repository
5454
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)