From 98b75c90dfc2d1ce88fd99e2bd8533b1644f4fc6 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Sat, 23 Nov 2024 07:14:38 -0800 Subject: [PATCH] Use cache again in generateLicenseReport (#12778) --- .github/workflows/build-common.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-common.yml b/.github/workflows/build-common.yml index ff2309bb00fb..46e6aa00d100 100644 --- a/.github/workflows/build-common.yml +++ b/.github/workflows/build-common.yml @@ -80,9 +80,7 @@ jobs: - name: Generate license report env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} - # currently ignoring inputs.no-build-cache and always running with --no-build-cache - # see https://github.com/jk1/Gradle-License-Report/issues/231 - run: ./gradlew generateLicenseReport --no-build-cache + run: ./gradlew generateLicenseReport ${{ inputs.no-build-cache && '--no-build-cache' || '' }} - name: Check licenses run: |