From fa99ba5f14d4c7fbc48188504a1668d8e5106c77 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 10 Feb 2026 12:43:34 +0100 Subject: [PATCH] ci: Set PREVIOUS_RELEASES_DIR env var in ci-windows-cross.py This uses the workspace instead of the runner.temp, so that it is easier to reproduce the CI locally. --- .github/ci-windows-cross.py | 5 +++++ .github/workflows/ci.yml | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/ci-windows-cross.py b/.github/ci-windows-cross.py index 0085ede9138..9b59f2a2a3b 100755 --- a/.github/ci-windows-cross.py +++ b/.github/ci-windows-cross.py @@ -127,6 +127,11 @@ def main(): parser.add_argument("step", choices=steps, help="CI step to perform.") args = parser.parse_args() + os.environ.setdefault( + "PREVIOUS_RELEASES_DIR", + str(Path.cwd() / "previous_releases"), + ) + if args.step == "print_version": print_version() elif args.step == "check_manifests": diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d310f3a5556..c821999ef42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -425,10 +425,6 @@ jobs: ./src/univalue/object.exe ./src/univalue/unitester.exe - - name: Set previous release directory - run: | - echo "PREVIOUS_RELEASES_DIR=${{ runner.temp }}/previous_releases" >> "$GITHUB_ENV" - - name: Prepare Windows test environment run: | py -3 .github/ci-windows-cross.py prepare_tests