diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f1c8b4ba9..656fd8235 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,6 +27,9 @@ jobs: uses: actions/checkout@v4 - run: | git rev-parse HEAD >> lastCommit + # Validate Wrapper before running build + - name: validate Gradle Wrapper + uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 #v1.1.0 - name: Check New Changes id: cache-last-commit uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9395e9ba..d4f7b211c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,10 @@ jobs: # Check out current repository - name: Fetch Sources uses: actions/checkout@v4 + + # Validate Wrapper before running build + - name: validate Gradle Wrapper + uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 #v1.1.0 # Set up Java environment for the next steps - name: Setup Java