mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-03 02:41:29 +02:00
Validate the gradlew checksums before running any build commands (#24)
This commit is contained in:
parent
e45a8514ea
commit
11228f0865
3
.github/workflows/build-and-test.yml
vendored
3
.github/workflows/build-and-test.yml
vendored
@ -37,6 +37,9 @@ jobs:
|
|||||||
path: .gtnh-workflows
|
path: .gtnh-workflows
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Validate gradle wrapper checksum
|
||||||
|
uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Set up JDK 8 and 17
|
- name: Set up JDK 8 and 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/release-tags.yml
vendored
3
.github/workflows/release-tags.yml
vendored
@ -30,6 +30,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 32
|
fetch-depth: 32
|
||||||
|
|
||||||
|
- name: Validate gradle wrapper checksum
|
||||||
|
uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Set release version
|
- name: Set release version
|
||||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user