From 8d58305cc47b59bf10c6625d55e9f13f27714336 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Wed, 6 Dec 2023 10:51:10 +0100 Subject: [PATCH] Enable dependency graphs --- .github/workflows/pr.yml | 6 ++++++ .github/workflows/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 066eb7cf..21aaf816 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -21,6 +21,12 @@ jobs: distribution: 'temurin' cache: 'gradle' + - name: Setup Gradle to generate dependency graphs + uses: gradle/gradle-build-action@v2 + with: + dependency-graph: generate + artifact-retention-days: 1 + - name: Build dex-tools with Gradle run: ./gradlew check distZip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 233b6c56..8cd7ffe2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,12 @@ jobs: distribution: 'temurin' cache: 'gradle' + - name: Setup Gradle to generate and submit dependency graphs + uses: gradle/gradle-build-action@v2 + with: + dependency-graph: generate-and-submit + artifact-retention-days: 1 + - name: Build dex-tools with Gradle run: ./gradlew check -Pversion=2.4.${{ github.run_number }} distZip