From c0e2ab661356693d04367beffcd64343e9fea11a Mon Sep 17 00:00:00 2001 From: Gabriel Zurita Date: Fri, 22 Nov 2024 16:54:46 -0700 Subject: [PATCH] Fix Gradle: isolate fix See PR comment: https://github.com/department-of-veterans-affairs/abd-vro/pull/3794#issuecomment-2494789396 I attempted the above proposed next steps in this branch and ran the pipeline manually, it and one of the changes fixed the issue! I'm now going to figure out which specific change fixed the Gradle version issue, and I'll put up a new PR. The first isolated change will be `workflows/secrel.yml#gate-check:# runs-on: ubuntu-20.04` --- .github/actions/setup-vro/action.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/actions/setup-vro/action.yml b/.github/actions/setup-vro/action.yml index d974212c8..66c67d94d 100644 --- a/.github/actions/setup-vro/action.yml +++ b/.github/actions/setup-vro/action.yml @@ -25,7 +25,7 @@ runs: # To avoid a growing cache over time, attempt to delete any files in the Gradle User Home # that were not used by Gradle during the workflow, prior to saving the cache. # https://github.com/gradle/actions/setup-gradle@v3#removing-unused-files-from-gradle-user-home-before-saving-to-cache - gradle-home-cache-cleanup: false + gradle-home-cache-cleanup: true - uses: ./.github/actions/install-java-tools @@ -55,8 +55,3 @@ runs: python3 -m venv ${VENV_EP_MERGE} source ${VENV_EP_MERGE}/bin/activate pip install -r domain-ee/ee-ep-merge-app/src/requirements.txt - - - name: "Clear Gradle Cache (Debug Step)" - shell: bash - run: rm -rf ~/.gradle || true - if: always() # Ensure cache is cleared even on workflow failures