mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user