File tree Expand file tree Collapse file tree 2 files changed +13
-47
lines changed
Expand file tree Collapse file tree 2 files changed +13
-47
lines changed Original file line number Diff line number Diff line change @@ -11,29 +11,30 @@ jobs:
1111 building :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - name : validate gradle wrapper
16- uses : gradle/wrapper-validation-action@v1
17- - name : Set up JDK
18- uses : actions/setup-java@v1
14+ - uses : actions/checkout@v3
15+ - name : Set up JDK 25
16+ uses : actions/setup-java@v4.2.1
1917 with :
20- java-version : 11
18+ java-version : ' 25'
19+ distribution : ' temurin'
2120
2221 - name : Cache Gradle packages
23- uses : actions/cache@v2
22+ uses : actions/cache@v4
2423 with :
2524 path : ~/.gradle/caches
2625 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
2726 restore-keys : ${{ runner.os }}-gradle
2827
29- - name : Build project
30- run : ./gradlew build
28+ - name : Build with Gradle
29+ uses : gradle/actions/setup-gradle@v3
30+ with :
31+ arguments : build --no-daemon
3132
3233 - name : Run tests
33- run : ./gradlew test
34+ run : ./gradlew test --no-daemon
3435
35- - name : Upload Nightly Build
36- uses : actions/upload-artifact@v2
36+ - name : Upload a Build Artifact
37+ uses : actions/upload-artifact@master
3738 if : success()
3839 with :
3940 name : skript-nightly
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments