aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 35ade269..18ea0893 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,19 +19,15 @@ jobs:
with:
distribution: "${{ matrix.distribution }}"
java-version: "${{ matrix.java-version }}"
- - name: "Cache: ~/.gradle/caches, ~/.gradle/wrapper"
- uses: actions/cache@v3
- with:
- path: |
- ~/.gradle/caches
- ~/.gradle/wrapper
- key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
- restore-keys: |
- ${{ runner.os }}-gradle-
+ cache: gradle
+ cache-dependency-path: |
+ **/*.gradle*
+ **/gradle-wrapper.properties
- name: Build with Gradle
- run: ./gradlew
+ run: ./gradlew build --no-daemon --stacktrace
- name: Upload the plugin JAR
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "Quests-JDK${{ matrix.java-version }}"
path: build/libs/*.jar
+ if-no-files-found: error