Skip to content

Commit 98b75c9

Browse files
authored
Use cache again in generateLicenseReport (#12778)
1 parent f5e643b commit 98b75c9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build-common.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ jobs:
8080
- name: Generate license report
8181
env:
8282
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
83-
# currently ignoring inputs.no-build-cache and always running with --no-build-cache
84-
# see https://github.com/jk1/Gradle-License-Report/issues/231
85-
run: ./gradlew generateLicenseReport --no-build-cache
83+
run: ./gradlew generateLicenseReport ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
8684

8785
- name: Check licenses
8886
run: |

0 commit comments

Comments
 (0)