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'
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 }}
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