File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,27 +15,27 @@ jobs:
1515 DEBIAN_FRONTEND : noninteractive
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Set up JDK 8
20- uses : actions/setup-java@v2
20+ uses : actions/setup-java@v4
2121 with :
22- distribution : ' adopt '
22+ distribution : ' temurin '
2323 java-version : 8
2424 - name : Build with Maven
2525 run : mvn -B package --file pom.xml
2626 - name : Extract current maven version
27- run : echo "::set-output name= version:: $(mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)"
27+ run : echo "version= $(mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
2828 id : version
2929 shell : bash
30- - uses : actions/upload-artifact@v2
30+ - uses : actions/upload-artifact@v4
3131 with :
3232 name : sudoku-${{ steps.version.outputs.version }}.jar
3333 path : sudoku/target/sudoku-${{ steps.version.outputs.version }}.jar
34- - uses : actions/upload-artifact@v2
34+ - uses : actions/upload-artifact@v4
3535 with :
3636 name : sudoku-${{ steps.version.outputs.version }}-sources.jar
3737 path : sudoku/target/sudoku-${{ steps.version.outputs.version }}-sources.jar
38- - uses : actions/upload-artifact@v2
38+ - uses : actions/upload-artifact@v4
3939 with :
4040 name : sudoku-${{ steps.version.outputs.version }}-javadoc.jar
4141 path : sudoku/target/sudoku-${{ steps.version.outputs.version }}-javadoc.jar
You can’t perform that action at this time.
0 commit comments