Skip to content

Commit 7eb4424

Browse files
committed
Claude miss: formats.7z forbidden because start digit, use formats['7z']
1 parent 3517dc9 commit 7eb4424

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/github_workflows_build-2026_01.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ jobs:
7575
PYTHON_VERSION: ${{ github.event.inputs.python_version }}
7676
WINPYFLAVOR: ${{ matrix.flavor.name }}
7777
PANDOC: ${{ matrix.flavor.PANDOC }}
78-
WINPYZIP: ${{ matrix.flavor.ZIP }}
79-
WINPY7Z: ${{ matrix.flavor.SEVEN_Z }}
80-
WINPYEXE: ${{ matrix.flavor.EXE }}
8178
WINPYARCHDET: ${{ matrix.flavor.WINPYARCHDET }}
8279
# constants
8380
WINPYARCH: "64"
@@ -243,14 +240,14 @@ jobs:
243240
shell: pwsh
244241
run: |
245242
$destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.zip"
246-
if ("${{ matrix.flavor.formats.zip }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile}
243+
if ("${{ matrix.flavor.formats['zip'] }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile}
247244
248245
$destfile7z = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.7z"
249-
if ("${{ matrix.flavor.formats.7z }}" -eq "true") { 7z a $destfile7z $env:build_location }
246+
if ("${{ matrix.flavor.formats['7z'] }}" -eq "true") { 7z a $destfile7z $env:build_location }
250247
251248
$destfileexe = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe"
252249
$SFXModulePath = "C:\Program Files\7-Zip\7z.sfx"
253-
if ("${{ matrix.flavor.formats.exe }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfileexe $env:build_location }
250+
if ("${{ matrix.flavor.formats['exe'] }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfileexe $env:build_location }
254251
255252
- name: generate hashes wppm style
256253
if: env.WINPYREQUIREMENTS != ''

0 commit comments

Comments
 (0)