diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 5d217b4..9dfe930 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -20,9 +20,9 @@ jobs: with: java-version: ${{ matrix.java_version }} distribution: 'temurin' - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3 - - name: Build with Gradle on Java ${{ matrix.java_version }} - uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 + - name: Setup Gradle to generate and submit dependency graphs + uses: gradle/gradle-build-action@v2 with: - arguments: build + dependency-graph: generate-and-submit + - name: Run a build and generate the dependency graph which will be submitted post-job + run: ./gradlew build