Apktool/.github/workflows/gradle.yml
ArjunaKumarMohanta 6e5d49bd66
fix: Gradle wrapper validation trigger issue (#3228)
Resolved the Gradle wrapper validation triggering problem by implementing a more precise check. Now, the validation process will only be triggered when there are actual changes in the gradle/wrapper/gradle-wrapper.jar file, preventing unnecessary validations.
2023-07-29 06:02:19 -04:00

25 lines
547 B
YAML

name: Gradle Validate
on:
push:
branches:
- master
paths:
- 'gradle/wrapper/gradle-wrapper.jar'
pull_request:
paths:
- 'gradle/wrapper/gradle-wrapper.jar'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/wrapper-validation-action@v1.1.0