@@ -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.8
16- uses : actions/setup-java@v1
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+ - name : Set up JDK 8
17+ uses : actions/setup-java@v3
1718 with :
18- java-version : 1.8
19+ distribution : ' zulu'
20+ java-version : ' 8'
1921 settings-path : ${{ github.workspace }}
2022
2123 - name : Load local Maven repository cache
22- uses : actions/cache@v2
24+ uses : actions/cache@v3
2325 with :
2426 path : ~/.m2/repository
2527 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
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@v6
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@v6
6062 with :
6163 github-token : ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}}
6264 script : |
@@ -85,12 +87,12 @@ jobs:
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@v6
8991 with :
9092 github-token : ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}}
9193 script : |
9294 await github.request(`POST /repos/${{ github.repository }}/pulls`, {
9395 title: 'Update version to ${{ github.event.inputs.versionTag }}',
9496 head: 'release/set-version-to-${{ github.event.inputs.versionTag }}',
95- base: 'master '
97+ base: 'main '
9698 });
0 commit comments