Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c0bf70

Browse files
authored
Merge pull request #1959 from stonebig/master
fix
2 parents 0e52fa1 + b6eccac commit 0c0bf70

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/github_workflows_build-2026_01.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ jobs:
129129
WINPYARCHDET: ${{ env.WINPYARCHDET }}
130130
WINPYVER2: ${{ steps.python_config.outputs.ver2 }}
131131
my_cycle: ${{ env.my_cycle }}
132+
my_release_level: ${{ env.my_release_level }}
132133
V_TAG: ${{ steps.python_config.outputs.v_tag }}
133134
FLAVOR_NAME: ${{ matrix.flavor.name }}
134135
run: |
@@ -146,8 +147,18 @@ jobs:
146147
BUILD_LOCATION="WPy64-${WINPYVER2//./}"
147148
echo "build_location=$BUILD_LOCATION" >> $GITHUB_ENV
148149
150+
WINPYREQUIREMENTS = "$my_cycle/requir.64-$vtag" + "$FLAVOR_NAME" + "$my_release_level" + ".txt"
151+
WINPYREQUIREMENTSwhl = "$my_cycle/requir.64-$vtag" + "$FLAVOR_NAME" + "_wheels" + "$my_release_level" + ".txt"
152+
echo "searching $WINPYREQUIREMENTS $WINPYREQUIREMENTSwhl"
153+
if [[ -f "$WINPYREQUIREMENTS" ]]; then
154+
echo "WINPYREQUIREMENTS=$WINPYREQUIREMENTS">> $GITHUB_ENV
155+
echo "Found $WINPYREQUIREMENTS"
156+
if [[ -f "$WINPYREQUIREMENTSwhl" ]]; then
157+
echo "WINPYREQUIREMENTSwhl=$WINPYREQUIREMENTSwhl">> $GITHUB_ENV
158+
echo "Found also $WINPYREQUIREMENTSwhl"
159+
#fi
149160
# Populate generic per-flavor / per-version selections using matrix-expanded values
150-
if [ "$PYTHON_VERSION" = "3.13" ]; then
161+
elif [ "$PYTHON_VERSION" = "3.13" ]; then
151162
echo "WINPYREQUIREMENTS=$my_cycle/${{ matrix.flavor.REQUIREMENTS_313 }}" >> $GITHUB_ENV
152163
echo "WINPYREQUIREMENTSwhl=$my_cycle/${{ matrix.flavor.REQUIREMENTS_WHL_313 }}" >> $GITHUB_ENV
153164
elif [ "$PYTHON_VERSION" = "3.14" ] && [ "$WINPYARCHDET" = "$detected_arch" ]; then
@@ -156,11 +167,6 @@ jobs:
156167
elif [ "$PYTHON_VERSION" = "3.15" ]; then
157168
echo "WINPYREQUIREMENTS=$my_cycle/${{ matrix.flavor.REQUIREMENTS_315 }}" >> $GITHUB_ENV
158169
echo "WINPYREQUIREMENTSwhl=$my_cycle/${{ matrix.flavor.REQUIREMENTS_WHL_315 }}" >> $GITHUB_ENV
159-
test="$my_cycle/requir.64-${v_tag}${FLAVOR_NAME}.txt"
160-
echo "WINPYREQUIREMENTS=$test"
161-
if [[ -f "$test" ]]; then
162-
echo "Found $test"
163-
fi
164170
fi
165171
166172
# write common flavor env vars derived here rather than in the job env block

0 commit comments

Comments
 (0)