Fix legacy test: override env var after init-integ-test

GITHUB_ENV from init-integ-test overwrites the workflow-level env.
Re-set GRADLE_ACTIONS_CACHE_USE_VENDORED=false after init runs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daz DeBoer
2026-04-01 15:10:10 -06:00
parent c5a7f0e838
commit 804a48c557
@@ -34,6 +34,9 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize integ-test
uses: ./.github/actions/init-integ-test
- name: Use legacy caching module
shell: bash
run: echo "GRADLE_ACTIONS_CACHE_USE_VENDORED=false" >> "$GITHUB_ENV"
- name: Setup Gradle
uses: ./setup-gradle
@@ -56,6 +59,9 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize integ-test
uses: ./.github/actions/init-integ-test
- name: Use legacy caching module
shell: bash
run: echo "GRADLE_ACTIONS_CACHE_USE_VENDORED=false" >> "$GITHUB_ENV"
- name: Setup Gradle
uses: ./setup-gradle