From 6d1623e8fa5043e82fce4222d9ae81303e4c5fed Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:04:38 +0100 Subject: [PATCH] ci: Update Gradle Wrapper Validation --- .github/workflows/build.yml.disabled | 30 -------------------------- .github/workflows/publish-release.yml | 2 +- .github/workflows/publish-snapshot.yml | 2 +- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/build.yml.disabled diff --git a/.github/workflows/build.yml.disabled b/.github/workflows/build.yml.disabled deleted file mode 100644 index 7c20868..0000000 --- a/.github/workflows/build.yml.disabled +++ /dev/null @@ -1,30 +0,0 @@ -name: build -on: - push: - branches: - - '**' - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - loader: [fabric, forge, neoforge] - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Validate gradle wrapper - uses: gradle/wrapper-validation-action@v1 - - name: Setup JDK - uses: actions/setup-java@v3 - with: - java-version: 21 - distribution: temurin - - name: Make gradle wrapper executable - run: chmod +x ./gradlew - - name: Build - run: ./gradlew :${{ matrix.loader }}:build - env: - GPR_USERNAME: ${{secrets.GPR_USERNAME}} - GPR_TOKEN: ${{secrets.GPR_TOKEN}} - GPR_BUILD_NUMBER: ${{github.run_number}} \ No newline at end of file diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 38ac5aa..c66e3b3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -62,7 +62,7 @@ jobs: with: ref: ${{ needs.create-release.outputs.ref }} - name: Validate gradle wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v3 - name: Setup JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index a23204f..9cae1f5 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Validate gradle wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v3 - name: Setup JDK uses: actions/setup-java@v3 with: