Skip to content

Commit 8e894be

Browse files
committed
Merge bitcoin/bitcoin#29504: ci: print python version on win64 native job
1484998 ci: print python version on win64 native job (Max Edwards) Pull request description: Adds python version output to the Win64 Native CI job on Github Actions. Also clarifies that one of the versions already printed is the VCToolsVersion. Before: ![Screenshot 2024-02-28 at 13 47 50](https://github.com/bitcoin/bitcoin/assets/1204616/e01bbba8-e2ad-419f-95d1-925d54b3e87a) After: ![Screenshot 2024-02-28 at 13 54 22](https://github.com/bitcoin/bitcoin/assets/1204616/e8917376-c8ca-443e-91c7-a73064bd787b) Should the individual python test runners print the python version instead or also? ACKs for top commit: hebasto: ACK 1484998. Tree-SHA512: 6d084ff4a667156fa8797450de83bbcf596ddd3b2fa8ec04c1ca9a532a6fec716817b66da34db4ea0184bd802ef613e2b8f6142be9a511c5397785cfbfede0c3
2 parents dfbad09 + 1484998 commit 8e894be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,15 @@ jobs:
148148
with:
149149
arch: x64
150150

151-
- name: Check MSBuild and Qt
151+
- name: Get tool information
152152
run: |
153153
msbuild -version | Out-File -FilePath "$env:GITHUB_WORKSPACE\msbuild_version"
154154
Get-Content -Path "$env:GITHUB_WORKSPACE\msbuild_version"
155155
$env:VCToolsVersion | Out-File -FilePath "$env:GITHUB_WORKSPACE\toolset_version"
156-
Get-Content -Path "$env:GITHUB_WORKSPACE\toolset_version"
156+
Write-Host "VCToolsVersion $(Get-Content -Path "$env:GITHUB_WORKSPACE\toolset_version")"
157157
$env:CI_QT_URL | Out-File -FilePath "$env:GITHUB_WORKSPACE\qt_url"
158158
$env:CI_QT_CONF | Out-File -FilePath "$env:GITHUB_WORKSPACE\qt_conf"
159+
py -3 --version
159160
160161
- name: Restore static Qt cache
161162
id: static-qt-cache

0 commit comments

Comments
 (0)