File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,15 +10,16 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Fetch sources
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414
1515 - name : Setup JDK 17
16- uses : actions/setup-java@v1
16+ uses : actions/setup-java@v4
1717 with :
18+ distribution : ' temurin'
1819 java-version : 17
1920
2021 - name : Cache local Maven repository
21- uses : actions/cache@v2
22+ uses : actions/cache@v4
2223 with :
2324 path : |
2425 ~/.m2/repository
2829
2930 - name : Configure build metadata
3031 id : metadata
31- run : echo ::set-output name= tag:: ${GITHUB_REF/refs\/tags\//}
32+ run : echo " tag= ${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
3233
3334 - name : Build plugin
3435 env :
Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ jobs:
1313
1414 steps :
1515 - name : Fetch sources
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v4
1717
1818 - name : Setup JDK 17
19- uses : actions/setup-java@v1
19+ uses : actions/setup-java@v4
2020 with :
21+ distribution : ' temurin'
2122 java-version : 17
2223
2324 - name : Cache local Maven repository
24- uses : actions/cache@v2
25+ uses : actions/cache@v4
2526 with :
2627 path : |
2728 ~/.m2/repository
3132
3233 - name : Configure build metadata
3334 id : metadata
34- run : echo ::set-output name= tag:: 1.0.0
35+ run : echo " tag= 1.0.0" >> $GITHUB_OUTPUT
3536
3637 - name : Build plugin
3738 env :
Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ jobs:
1111 java : [17, 20]
1212 steps :
1313 - name : Fetch sources
14- uses : actions/checkout@v2
14+ uses : actions/checkout@v4
1515
1616 - name : Setup JDK ${{ matrix.java }}
17- uses : actions/setup-java@v1
17+ uses : actions/setup-java@v4
1818 with :
19+ distribution : ' temurin'
1920 java-version : ${{ matrix.java }}
2021
2122 - name : Cache local Maven repository
22- uses : actions/cache@v2
23+ uses : actions/cache@v4
2324 with :
2425 path : |
2526 ~/.m2/repository
You can’t perform that action at this time.
0 commit comments