@@ -16,25 +16,19 @@ jobs:
1616 VERSION : ${{ steps.vars.outputs.VERSION }}
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020
2121 - name : Cancel previous run
22- uses : styfle/cancel-workflow-action@0.11.0
22+ uses : styfle/cancel-workflow-action@0.12.1
2323 with :
2424 access_token : ${{ secrets.GITHUB_TOKEN }}
2525
2626 - name : Setup Java
27- uses : actions/setup-java@v3
27+ uses : actions/setup-java@v4
2828 with :
2929 java-version : ${{ env.JAVA_VERSION }}
3030 distribution : ${{ env.JAVA_DISTRO }}
31-
32- - name : Cache local Maven repository
33- uses : actions/cache@v3
34- with :
35- path : ~/.m2/repository
36- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
37- restore-keys : ${{ runner.os }}-maven-
31+ cache : maven
3832
3933 - name : Version
4034 id : vars
@@ -49,22 +43,16 @@ jobs:
4943 runs-on : ubuntu-latest
5044 steps :
5145 - name : Checkout
52- uses : actions/checkout@v3
46+ uses : actions/checkout@v4
5347 with :
5448 fetch-depth : 0
5549
5650 - name : Setup Java
57- uses : actions/setup-java@v3
51+ uses : actions/setup-java@v4
5852 with :
5953 java-version : ${{ env.JAVA_VERSION }}
6054 distribution : ${{ env.JAVA_DISTRO }}
61-
62- - name : Cache Maven
63- uses : actions/cache@v3
64- with :
65- path : ~/.m2/repository
66- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
67- restore-keys : ${{ runner.os }}-m2
55+ cache : maven
6856
6957 - name : Setup JDKs
7058 run : ./mvnw -ntp -B -q --file pom.xml -Pjdks
9078
9179 - name : JReleaser output
9280 if : always()
93- uses : actions/upload-artifact@v3
81+ uses : actions/upload-artifact@v4
9482 with :
9583 name : jreleaser-release
9684 path : |
0 commit comments