File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,16 @@ jobs:
1616 run : git clone https://github.com/vivo-project/Vitro.git ../Vitro
1717
1818 - name : Maven Cache
19- uses : actions/cache@v2
19+ uses : actions/cache@v4
2020 with :
2121 path : ~/.m2/repository
2222 key : ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }}
2323 restore-keys : ${{ runner.os }}-cache-m2-
2424
2525 - name : Setup Java
26- uses : actions/setup-java@v1
26+ uses : actions/setup-java@v4
2727 with :
28+ distribution : ' temurin'
2829 java-version : 11
2930
3031 - name : Maven Build
Original file line number Diff line number Diff line change @@ -20,16 +20,17 @@ jobs:
2020 run : git clone https://github.com/vivo-project/Vitro.git ../Vitro
2121
2222 - name : Maven Cache
23- uses : actions/cache@v2
23+ uses : actions/cache@v4
2424 with :
2525 path : ~/.m2/repository
2626 key : ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }}
2727 restore-keys : ${{ runner.os }}-cache-m2-
2828
2929 - name : Setup Java
30- uses : actions/setup-java@v1
30+ uses : actions/setup-java@v4
3131 with :
3232 java-version : 11
33+ distribution : ' temurin'
3334 server-id : ossrh
3435 server-username : MAVEN_USERNAME
3536 server-password : MAVEN_PASSWORD
Original file line number Diff line number Diff line change @@ -20,15 +20,16 @@ jobs:
2020 run : git clone https://github.com/vivo-project/Vitro.git ../Vitro
2121
2222 - name : Maven Cache
23- uses : actions/cache@v2
23+ uses : actions/cache@v4
2424 with :
2525 path : ~/.m2/repository
2626 key : ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }}
2727 restore-keys : ${{ runner.os }}-cache-m2-
2828
2929 - name : Setup Java
30- uses : actions/setup-java@v1
30+ uses : actions/setup-java@v4
3131 with :
32+ distribution : ' temurin'
3233 java-version : 11
3334
3435 - name : Maven Build
You can’t perform that action at this time.
0 commit comments