@@ -15,21 +15,21 @@ jobs:
1515 env :
1616 GITHUB_CONTEXT : ${{ toJSON(github) }}
1717 run : echo "$GITHUB_CONTEXT"
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v6
1919 with :
2020 fetch-depth : 0
2121 submodules : recursive
2222 ref : ${{ github.event.workflow_run.head_branch }}
2323 - name : Set up Java for publishing to Maven Central Repository OSS
24- uses : actions/setup-java@v3
24+ uses : actions/setup-java@v5
2525 with :
2626 java-version : ${{ github.event.workflow_run.head_branch == 'sustaining/4.2.x' && '8' || '11'}}
2727 distribution : ' temurin'
2828 server-id : ossrh
2929 server-username : MAVEN_USERNAME
3030 server-password : MAVEN_PASSWORD
3131 - name : Cache Maven packages
32- uses : actions/cache@v4
32+ uses : actions/cache@v5
3333 with :
3434 path : ~/.m2/repository
3535 key : ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }}
@@ -56,12 +56,12 @@ jobs:
5656 if : ${{ github.event.workflow_run.event=='push' && env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!=''}}
5757 run : mvn --batch-mode --errors --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy --file pom.xml
5858 - name : Upload artifacts OpenAM-J2EE Distribution Kit, containing all distributable artifacts
59- uses : actions/upload-artifact@v4
59+ uses : actions/upload-artifact@v7
6060 with :
6161 name : OpenAM Java Policy Agent (JAR with External Libraries)
6262 path : jee-agents-distribution/jee-agents-distribution-jar-with-lib/target/*.zip
6363 - name : Upload artifacts OpenAM-J2EE Distribution Kit, containing all distributable artifacts
64- uses : actions/upload-artifact@v4
64+ uses : actions/upload-artifact@v7
6565 with :
6666 name : OpenAM Java Policy Agent (Uber JAR)
6767 path : jee-agents-distribution/jee-agents-distribution-uberjar/target/*.zip
0 commit comments