File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1212 name : Build
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v3
1616 - name : Restore gradle.properties
1717 env :
1818 GRADLE_PROPERTIES : ${{ secrets.GRADLE_PROPERTIES }}
@@ -21,13 +21,13 @@ jobs:
2121 mkdir -p ~/.gradle/
2222 echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
2323 echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
24- - name : Set up JDK 17
24+ - name : Set up JDK 21
25252626 with :
2727 distribution : ' temurin'
28- java-version : ' 17 '
28+ java-version : ' 21 '
2929 - name : Cache
30- uses : actions/cache@v2
30+ uses : actions/cache@v3
3131 with :
3232 path : |
3333 ~/.gradle/caches
4343 uses : actions/upload-artifact@v4
4444 with :
4545 name : Fishing
46- path : ./build/libs/Fishing-**.jar
46+ path : ./build/libs/Fishing-**.jar
Original file line number Diff line number Diff line change 1111 sourceCompatibility = JavaVersion .VERSION_17
1212 targetCompatibility = JavaVersion .VERSION_17
1313
14+ withJavadocJar()
15+ withSourcesJar()
1416 disableAutoTargetJvm()
1517 toolchain {
1618 languageVersion.set(JavaLanguageVersion .of(21 ))
You can’t perform that action at this time.
0 commit comments