|
12 | 12 | - '3.13' |
13 | 13 | - '3.14' |
14 | 14 | - '3.15' |
| 15 | +env: |
| 16 | + # === Global Configuration === |
| 17 | + WINPYARCH: "64" |
| 18 | + my_release_level: "b0" |
| 19 | + dotwheelhouse: dotpython\\wheelhouse\\included.wheels |
| 20 | + pandoc_source: "https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-windows-x86_64.zip" |
| 21 | + pandoc_sha256: "11eb6dbe5286c9e5edb0cca4412e7d99ec6578ec04158b0b7fe11f7fd96688e5" |
15 | 22 |
|
16 | 23 | jobs: |
17 | 24 | build-winpython: |
|
76 | 83 | WINPYFLAVOR: ${{ matrix.flavor.name }} |
77 | 84 | PANDOC: ${{ matrix.flavor.PANDOC }} |
78 | 85 | WINPYARCHDET: ${{ matrix.flavor.WINPYARCHDET }} |
79 | | - # constants |
80 | | - WINPYARCH: "64" |
81 | | - my_release_level: "b0" |
82 | | - dotwheelhouse: dotpython\\wheelhouse\\included.wheels |
83 | | - pandoc_source: "https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-windows-x86_64.zip" |
84 | | - pandoc_sha256: "11eb6dbe5286c9e5edb0cca4412e7d99ec6578ec04158b0b7fe11f7fd96688e5" |
85 | 86 |
|
86 | 87 | steps: |
87 | 88 | - name: Checkout repository |
@@ -240,14 +241,14 @@ jobs: |
240 | 241 | shell: pwsh |
241 | 242 | run: | |
242 | 243 | $destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.zip" |
243 | | - if ("${{ matrix.flavor.formats['zip'] }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile} |
| 244 | + if ("${{ matrix.flavor.formats['zip'] }}" -eq "true") { Compress-Archive -Path "$env:build_location" -DestinationPath $destfile } |
244 | 245 |
|
245 | | - $destfile7z = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.7z" |
246 | | - if ("${{ matrix.flavor.formats['7z'] }}" -eq "true") { 7z a $destfile7z $env:build_location } |
| 246 | + $destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.7z" |
| 247 | + if ("${{ matrix.flavor.formats['7z'] }}" -eq "true") { 7z a $destfile $env:build_location } |
247 | 248 |
|
248 | | - $destfileexe = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe" |
| 249 | + $destfile = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe" |
249 | 250 | $SFXModulePath = "C:\Program Files\7-Zip\7z.sfx" |
250 | | - if ("${{ matrix.flavor.formats['exe'] }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfileexe $env:build_location } |
| 251 | + if ("${{ matrix.flavor.formats['exe'] }}" -eq "true") { 7z a -t7z -sfx"$SFXModulePath" $destfile $env:build_location } |
251 | 252 |
|
252 | 253 | - name: generate hashes wppm style |
253 | 254 | if: env.WINPYREQUIREMENTS != '' |
|
0 commit comments