Skip to content

Commit c31b176

Browse files
committed
Better output when checking
1 parent 5218324 commit c31b176

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@ jobs:
4646
$old = Get-Content $env:GITHUB_PATH
4747
(gi .\python*\tools\python.exe).Parent | Out-File $env:GITHUB_PATH -Encoding UTF8
4848
$old | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
49+
gc $env:GITHUB_PATH
4950
working-directory: ${{ runner.temp }}
5051

5152
- name: Check Python version
52-
run: python -c "import sys; sys.exit(0 if sys.version_info[:3] == (3, 14, 0) else 1)"
53+
run: >
54+
python -c "
55+
import sys;
56+
print(sys.version);
57+
print(sys.executable);
58+
sys.exit(0 if sys.version_info[:3] == (3, 14, 0) else 1)"
5359
5460
- name: Install build dependencies
5561
run: python -m pip install "pymsbuild>=1.2.0b1"

0 commit comments

Comments
 (0)