Skip to content

Commit 2838caa

Browse files
committed
testing parameter poka-yoke
1 parent b824e87 commit 2838caa

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/github_workflows_build-2026_01.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=dac2dc871cc9d170a9930985269b6f3e9e2fc364a6c8eb3c2e8b61f204a67f2c'
8383
}
8484
'3.15' {
85-
Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.15.0.1'
85+
Add-Content -Path $env:GITHUB_OUTPUT -Value 'ver2=3.15.1.1'
8686
Add-Content -Path $env:GITHUB_OUTPUT -Value 'src=https://github.com/astral-sh/python-build-standalone/releases/download/20260211/cpython-3.15.0a6+20260211-x86_64-pc-windows-msvc-install_only_stripped.tar.gz'
8787
Add-Content -Path $env:GITHUB_OUTPUT -Value 'sha=dff60468871dd808defc3040b7f4c7dfb4a9f3075273646a8c966aea86fd65fa'
8888
}
@@ -97,6 +97,7 @@ jobs:
9797
my_cycle: ${{ env.my_cycle }}
9898
my_release_level: ${{ env.my_release_level }}
9999
FLAVOR_NAME: ${{ matrix.flavor.name }}
100+
python_source: ${{ steps.python_config.outputs.src }}
100101
run: |
101102
# Normalize PYTHON_VERSION by removing trailing 'F' if present
102103
$PYTHON_VERSION = $env:PYTHON_VERSIONF -replace 'F$',''
@@ -109,6 +110,15 @@ jobs:
109110
$BUILD_LOCATION = "WPy64-" + ($WINPYVER2 -replace '\\.', '')
110111
Add-Content -Path $env:GITHUB_ENV -Value "build_location=$BUILD_LOCATION"
111112
113+
# check consistency of parametrizing:
114+
$python_version=([version]$WINPYVER2).ToString(3)
115+
if ($env:python_source.Contains($python_version)) {
116+
Write-Host "Success: Found '$python_version' in $env:python_source"
117+
} else {
118+
Write-Error "Error: '$python_version' not found in $env:python_source !"
119+
exit 1
120+
}
121+
112122
$WINPYREQUIREMENTS = ''
113123
$WINPYREQUIREMENTSwhl = ''
114124

0 commit comments

Comments
 (0)