mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-27 19:57:00 -05:00
Update the gradle wrapper validation script to fix GitHub Actions. (#281)
- `gradle/wrapper-validation-action@v2` moved to `gradle/actions/wrapper-validation@v4`
This commit is contained in:
2
.github/workflows/publish-exp.yml
vendored
2
.github/workflows/publish-exp.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
java-version: 21
|
||||
distribution: 'temurin'
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gradle/wrapper-validation-action@v2
|
||||
- uses: gradle/actions/wrapper-validation@v4
|
||||
|
||||
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
|
||||
- name: Generate build number
|
||||
|
||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
java-version: 21
|
||||
distribution: 'temurin'
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gradle/wrapper-validation-action@v2
|
||||
- uses: gradle/actions/wrapper-validation@v4
|
||||
- name: Upload to Maven
|
||||
run: ./gradlew publish --stacktrace
|
||||
env:
|
||||
|
||||
4
.github/workflows/test-push.yml
vendored
4
.github/workflows/test-push.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
java-version: 21
|
||||
distribution: 'temurin'
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gradle/wrapper-validation-action@v2
|
||||
- uses: gradle/actions/wrapper-validation@v4
|
||||
- run: ./gradlew build check -x test --stacktrace --warning-mode fail
|
||||
- uses: Juuxel/publish-checkstyle-report@v1
|
||||
if: ${{ failure() }}
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
with:
|
||||
java-version: 21
|
||||
distribution: 'temurin'
|
||||
- uses: gradle/wrapper-validation-action@v2
|
||||
- uses: gradle/actions/wrapper-validation@v4
|
||||
- run: ./gradlew build check -x test --stacktrace --warning-mode fail
|
||||
|
||||
# This job is used to feed the test matrix of next job to allow the tests to run in parallel
|
||||
|
||||
Reference in New Issue
Block a user