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.
This commit is contained in:
2 files changed
+5
-4
No files matched your search
@@ -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":
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user