3838 java-version-file : .java-version
3939
4040 - name : Setup Gradle
41- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
41+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
4242 with :
4343 cache-read-only : ${{ inputs.cache-read-only }}
4444 # gradle enterprise is used for the build cache
5454 steps :
5555 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5656
57- - uses : gradle/actions/wrapper-validation@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
57+ - uses : gradle/actions/wrapper-validation@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
5858
5959 license-check :
6060 runs-on : ubuntu-latest
7171 java-version-file : .java-version
7272
7373 - name : Setup Gradle
74- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
74+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
7575 with :
7676 cache-read-only : ${{ inputs.cache-read-only }}
7777 # gradle enterprise is used for the build cache
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 : |
@@ -144,7 +142,7 @@ jobs:
144142 sed -i "s/org.gradle.jvmargs=/org.gradle.jvmargs=-Xmx3g /" gradle.properties
145143
146144 - name : Setup Gradle
147- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
145+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
148146 with :
149147 cache-read-only : ${{ inputs.cache-read-only }}
150148 # gradle enterprise is used for the build cache
@@ -247,7 +245,7 @@ jobs:
247245 run : .github/scripts/deadlock-detector.sh
248246
249247 - name : Setup Gradle
250- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
248+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
251249 with :
252250 # only push cache for one matrix option since github action cache space is limited
253251 cache-read-only : ${{ inputs.cache-read-only || matrix.test-java-version != 11 || matrix.vm != 'hotspot' }}
@@ -346,7 +344,7 @@ jobs:
346344 java-version-file : .java-version
347345
348346 - name : Set up Gradle cache
349- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
347+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
350348 with :
351349 # only push cache for one matrix option per OS since github action cache space is limited
352350 cache-read-only : ${{ inputs.cache-read-only || matrix.smoke-test-suite != 'tomcat' }}
@@ -399,7 +397,7 @@ jobs:
399397 java-version-file : .java-version
400398
401399 - name : Setup Gradle
402- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
400+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
403401 with :
404402 cache-read-only : ${{ inputs.cache-read-only }}
405403
@@ -422,7 +420,7 @@ jobs:
422420 java-version-file : .java-version
423421
424422 - name : Set up Gradle cache
425- uses : gradle/actions/setup-gradle@473878a77f1b98e2b5ac4af93489d1656a80a5ed # v4.2.0
423+ uses : gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
426424 with :
427425 cache-read-only : ${{ inputs.cache-read-only }}
428426
0 commit comments