mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 01:36:13 +00:00
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:
parent
fa4a1cab6c
commit
fa99ba5f14
5
.github/ci-windows-cross.py
vendored
5
.github/ci-windows-cross.py
vendored
@ -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":
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user