File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,25 +11,27 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout repo
14- uses : actions/checkout@v2
15- - name : Set up JDK 11
16- uses : actions/setup-java@v1
14+ uses : actions/checkout@v5
15+ - name : Set up JDK 21
16+ uses : actions/setup-java@v5
1717 with :
18- java-version : 17
18+ java-version : 21
19+ distribution : ' adopt'
20+ cache : gradle
1921 - name : Grant execute permission for gradlew
2022 run : chmod +x gradlew
2123 - name : Build with Gradle
2224 run : ./gradlew build
2325 - name : Upload artifacts
24- uses : actions/upload-artifact@master
26+ uses : actions/upload-artifact@v4
2527 with :
2628 path : build/libs/*.jar
2729 test :
2830 runs-on : ubuntu-latest
2931 needs : [build]
3032 steps :
3133 - name : Checkout repo
32- uses : actions/checkout@v2
34+ uses : actions/checkout@v5
3335 - name : Download artifacts
3436 uses : actions/download-artifact@v4
3537 with :
You can’t perform that action at this time.
0 commit comments