@@ -11,15 +11,17 @@ jobs:
1111 release :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - name : Set up JDK 1.17
16- uses : actions/setup-java@v1
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+ - name : Set up JDK 11
17+ uses : actions/setup-java@v4
1718 with :
18- java-version : 1.17
19+ distribution : ' zulu'
20+ java-version : ' 11'
1921 settings-path : ${{ github.workspace }}
2022
2123 - name : Load local Maven repository cache
22- uses : actions/cache@v2
24+ uses : actions/cache@v4
2325 with :
2426 path : ~/.m2/repository
2527 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -32,17 +34,17 @@ jobs:
3234 git config --global user.name "JohnnyQ5"
3335
3436 - name : Set version in Maven project
35- run : mvn versions:set -DnewVersion=${{ github.event.inputs.versionTag }}
37+ run : mvn versions:set -DnewVersion=${{ github.event.inputs.versionTag }}
3638
3739 - name : Build with Maven
38- run : mvn -B package --file pom.xml
40+ run : mvn -B package --file pom.xml
3941
4042 - name : Create Release Notes
4143 if : ${{ !startsWith(github.ref, 'refs/tags/')
4244 && !( contains(github.event.inputs.versionTag, 'alpha')
4345 || contains(github.event.inputs.versionTag, 'beta')
4446 || contains(github.event.inputs.versionTag, 'rc')) }}
45- uses : actions/github-script@v4.0.2
47+ uses : actions/github-script@v7
4648 with :
4749 github-token : ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}}
4850 script : |
5658 && ( contains(github.event.inputs.versionTag, 'alpha')
5759 || contains(github.event.inputs.versionTag, 'beta')
5860 || contains(github.event.inputs.versionTag, 'rc')) }}
59- uses : actions/github-script@v4.0.2
61+ uses : actions/github-script@v7
6062 with :
6163 github-token : ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}}
6264 script : |
8587 run : git push
8688
8789 - name : Open PR with version bump
88- uses : actions/github-script@v4.0.2
90+ uses : actions/github-script@v7
8991 with :
9092 github-token : ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}}
9193 script : |
0 commit comments