diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f64c3f0..56cf0a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,23 +21,23 @@ jobs: runs-on: "${{ matrix.os }}" steps: - name: "checkout repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Make wrapper executable run: | chmod +x gradlew - name: "validate gradle wrapper" - uses: "gradle/wrapper-validation-action@v1" + uses: "gradle/wrapper-validation-action@v3" - name: "Setup JDK ${{ matrix.java }}" - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "${{ matrix.java }}" cache: "gradle" # Actually build - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -52,12 +52,12 @@ jobs: ${{ runner.os }}-deltapvp- - name: "run gradle build" - uses: "gradle/gradle-build-action@v2" + uses: "gradle/gradle-build-action@v3" with: cache-read-only: "${{ !startsWith(github.ref, 'refs/heads/master/') || github.event_name == 'pull_request' }}" arguments: "build --stacktrace" - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts path: "**/build/libs/*.jar" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f398c33..21d5e09 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists