This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch disablegradlecache
in repository https://gitbox.apache.org/repos/asf/beam.git

commit dfcbb208a106298d8e38ddb0bce63a8bc1aa064f
Author: Yi Hu <[email protected]>
AuthorDate: Fri Mar 8 13:41:12 2024 -0500

    Disable GHA cache
---
 .github/actions/setup-environment-action/action.yml | 2 +-
 .github/workflows/beam_PostCommit_XVR_Direct.yml    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/actions/setup-environment-action/action.yml 
b/.github/actions/setup-environment-action/action.yml
index 5c6151ca6e1..0924481a8b9 100644
--- a/.github/actions/setup-environment-action/action.yml
+++ b/.github/actions/setup-environment-action/action.yml
@@ -52,7 +52,7 @@ runs:
     - name: Setup Gradle
       uses: gradle/gradle-build-action@v2
       with:
-        cache-read-only: ${{ inputs.disable-cache }}
+        cache-disabled: ${{ inputs.disable-cache }}
     - name: Install Go
       if: ${{ inputs.go-version != '' }}
       uses: actions/setup-go@v3
diff --git a/.github/workflows/beam_PostCommit_XVR_Direct.yml 
b/.github/workflows/beam_PostCommit_XVR_Direct.yml
index de1b995bc64..b23ca8815b6 100644
--- a/.github/workflows/beam_PostCommit_XVR_Direct.yml
+++ b/.github/workflows/beam_PostCommit_XVR_Direct.yml
@@ -77,6 +77,7 @@ jobs:
           python-version: |
             3.8
             3.11
+          disable-cache: true
       - name: run PostCommit XVR Direct script
         env:
           CLOUDSDK_CONFIG: ${{ env.KUBELET_GCLOUD_CONFIG_PATH}}

Reply via email to