Small gradle-build-action fixes
MODIFY
.github/workflows/build-pull-request.yml
.github/workflows/build-pull-request.yml
@@ -56,7 +56,7 @@ jobs:
gradle-plugins:
uses: ./.github/workflows/reusable-gradle-plugins.yml
with:
- no-build-cache: true
+ cache-read-only: true
examples:
uses: ./.github/workflows/reusable-examples.yml

MODIFY
.github/workflows/publish-smoke-test-servlet-images.yml
.github/workflows/publish-smoke-test-servlet-images.yml
@@ -59,7 +59,7 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
# only push cache for one matrix option per OS since github action cache space is limited
- cache-read-only: ${{ inputs.cache-read-only || matrix.smoke-test-suite != 'tomcat' }}
+ cache-read-only: ${{ matrix.smoke-test-suite != 'tomcat' }}
- name: Build Linux docker images
if: matrix.os != 'windows-2019'

Small gradle-build-action fixes (#6266)