diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 740d9dd20..7d14b51c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,12 +9,12 @@ jobs: build: # Only run on PRs if the source branch is on someone else's repo if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Git Repository uses: actions/checkout@v4 - - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@v4 + with: + persist-credentials: false - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Set up JDK @@ -27,4 +27,4 @@ jobs: - name: Apply Patches run: ./gradlew applyPatches - name: Build - run: ./gradlew build + run: ./gradlew build \ No newline at end of file