Skip to content

Commit 4590dca

Browse files
committed
Chore: Update CI actions
1 parent c5f6268 commit 4590dca

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
artifact:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Set up JDK 8
26-
uses: actions/setup-java@v2
26+
uses: actions/setup-java@v3
2727
with:
2828
java-version: 8
2929
distribution: 'adopt'
@@ -34,7 +34,7 @@ jobs:
3434
- name: Stage artifacts
3535
run: mvn -B -DaltDeploymentRepository=ossrh::default::file:snapshot/ deploy
3636
- name: Package artifacts
37-
uses: actions/upload-artifact@v2
37+
uses: actions/upload-artifact@v3
3838
if: success()
3939
with:
4040
name: jsonurl-maven-repository
@@ -56,13 +56,13 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [macos-latest, ubuntu-latest, windows-latest]
59-
jdk: [8, 11, 13, 15, 16]
59+
jdk: [8, 11, 17]
6060
distribution: [ 'zulu', 'adopt' ]
6161
name: Java ${{ matrix.jdk }} (${{ matrix.distribution }}) on ${{ matrix.os }}
6262
steps:
63-
- uses: actions/checkout@v2
63+
- uses: actions/checkout@v4
6464
- name: Set up JDK ${{ matrix.jdk }}
65-
uses: actions/setup-java@v2
65+
uses: actions/setup-java@v3
6666
with:
6767
java-version: ${{ matrix.jdk }}
6868
distribution: ${{ matrix.distribution }}
@@ -78,7 +78,7 @@ jobs:
7878
if: ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/checkout@v2
81+
- uses: actions/checkout@v4
8282
- name: Run Snyk to check ${{ github.ref }} for vulnerabilities
8383
uses: snyk/actions/maven-3-jdk-11@master
8484
env:
@@ -89,11 +89,11 @@ jobs:
8989
if: ${{ needs.artifact.result == 'success' && github.event.repository.fork == false && ( github.event_name == 'push' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR' ) }}
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v2
92+
- uses: actions/checkout@v4
9393
with:
9494
fetch-depth: 0
9595
- name: Set up JDK 11
96-
uses: actions/setup-java@v2
96+
uses: actions/setup-java@v3
9797
with:
9898
java-version: 11
9999
distribution: 'adopt'

0 commit comments

Comments
 (0)