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 3d40ca154272c07d026b9d7d0c6ae6849d151bda
Author: Yi Hu <[email protected]>
AuthorDate: Fri Mar 8 12:53:52 2024 -0500

    Test disable gradle cache
---
 .github/actions/setup-environment-action/action.yml                 | 2 +-
 .../workflows/beam_PostCommit_XVR_PythonUsingJavaSQL_Dataflow.yml   | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

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_PythonUsingJavaSQL_Dataflow.yml 
b/.github/workflows/beam_PostCommit_XVR_PythonUsingJavaSQL_Dataflow.yml
index 4908b34da18..2a25f5531f2 100644
--- a/.github/workflows/beam_PostCommit_XVR_PythonUsingJavaSQL_Dataflow.yml
+++ b/.github/workflows/beam_PostCommit_XVR_PythonUsingJavaSQL_Dataflow.yml
@@ -43,11 +43,6 @@ concurrency:
   group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha 
|| github.head_ref || github.ref }}-${{ github.event.schedule || 
github.event.comment.id || github.event.sender.login }}'
   cancel-in-progress: true
 
-env:
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
-  GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GE_CACHE_USERNAME }}
-  GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GE_CACHE_PASSWORD }}
-
 jobs:
   beam_PostCommit_XVR_PythonUsingJavaSQL_Dataflow:
     if: |
@@ -74,6 +69,7 @@ jobs:
         uses: ./.github/actions/setup-environment-action
         with:
           python-version: 3.11
+          disable-cache: true
       - name: run PostCommit XVR PythonUsingJavaSQL Dataflow script
         env:
           CLOUDSDK_CONFIG: ${{ env.KUBELET_GCLOUD_CONFIG_PATH}}

Reply via email to