diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be0616f871..eecc3f9e82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,6 @@ jobs: - name: Checkout uses: actions/checkout@v3.5.2 - - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1.0.6 - - name: Configure JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/gradle-wrapper.yml b/.github/workflows/gradle-wrapper.yml new file mode 100644 index 0000000000..673d0fd999 --- /dev/null +++ b/.github/workflows/gradle-wrapper.yml @@ -0,0 +1,18 @@ +name: gradle-wrapper + +on: + pull_request: + paths: + - 'gradlew' + - 'gradlew.bat' + - 'gradle/wrapper/' + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1