8000 retry · winpython/winpython@8775ae2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8775ae2

Browse files
committed
retry
1 parent 07d2e13 commit 8775ae2

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
lines changed

.github/workflows/github_workflows_build-all_3.13.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
# Ensure unicode for wppm output
172172
$env:PYTHONIOENCODING="utf-8"
173173
174-
$destfile_md = "publish_output\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
174+
$destfile_md = "publish_output\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
175175
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile_md -Encoding utf8
176176
177177
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freeze.txt
@@ -204,9 +204,19 @@ jobs:
204204
$sourceDir = "$env:build_location"
205205
7z a -sfx $destfile7z $sourceDir
206206
207+
- name: generate hashes wppm style
208+
shell: pwsh
209+
run: |
210+
$DESTFILE="./publish_output/hashes.md"
211+
Get-ChildItem -Path ".\publish_output\*.*"
212+
# Get the list of files matching the pattern and pass them as arguments
213+
$filesToHash = Get-ChildItem -Path ".\publish_output\*64*.*"
214+
& "$env:build_location\python\python.exe" -c "import sys;from wppm import hash; hash.print_hashes(sys.argv[1:])" @($filesToHash.FullName) | Out-File -FilePath $DESTFILE
215+
gc $DESTFILE
216+
207217
- name: Upload WinPython folder as artifact
208218
uses: actions/upload-artifact@v4
209219
with:
210220
name: ${{ matrix.flavor_config.ARTIFACT_NAME }}
211221
path: publish_output
212-
#retention-days: 30 # keeps artifact for 30 days
222+
retention-days: 66 # keeps artifact for 30 days

.github/workflows/github_workflows_build-all_3.14.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
# Ensure unicode for wppm output
157157
$env:PYTHONIOENCODING="utf-8"
158158
159-
$destfile_md = "publish_output\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
159+
$destfile_md = "publish_output\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
160160
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile_md -Encoding utf8
161161
162162
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freeze.txt
@@ -189,19 +189,19 @@ jobs:
189189
$sourceDir = "$env:build_location"
190190
7z a -sfx $destfile7z $sourceDir
191191
192-
- name: Upload WinPython folder as artifact
193-
uses: actions/upload-artifact@v4
194-
with:
195-
name: ${{ matrix.flavor_config.ARTIFACT_NAME }}
196-
path: publish_output
197-
retention-days: 66 # keeps artifact for 66 days
198-
199192
- name: generate hashes wppm style
200193
shell: pwsh
201194
run: |
202195
$DESTFILE="./publish_output/hashes.md"
203-
Get-ChildItem -Path ".\publish_output\*64*.*"
196+
Get-ChildItem -Path ".\publish_output\*.*"
204197
# Get the list of files matching the pattern and pass them as arguments
205198
$filesToHash = Get-ChildItem -Path ".\publish_output\*64*.*"
206199
& "$env:build_location\python\python.exe" -c "import sys;from wppm import hash; hash.print_hashes(sys.argv[1:])" @($filesToHash.FullName) | Out-File -FilePath $DESTFILE
207-
gc $DESTFILE
200+
gc $DESTFILE
201+
202+
- name: Upload WinPython folder as artifact
203+
uses: actions/upload-artifact@v4
204+
with:
205+
name: ${{ matrix.flavor_config.ARTIFACT_NAME }}
206+
path: publish_output
207+
retention-days: 66 # keeps artifact for 66 days

.github/workflows/github_workflows_build-dot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
# we need to ensure unicode here so wppm can output utf-8
161161
$env:PYTHONIOENCODING="utf-8"
162162
163-
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
163+
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
164164
& "$env:build_location\python\python.exe" -m wppm -md
165165
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8
166166
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
# we need to ensure unicode here so wppm can output utf-8
161161
$env:PYTHONIOENCODING="utf-8"
162162
163-
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
163+
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
164164
& "$env:build_location\python\python.exe" -m wppm -md
165165
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8
166166

.github/workflows/github_workflows_build-whl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
# we need to ensure unicode here so wppm can output utf-8
161161
$env:PYTHONIOENCODING="utf-8"
162162
163-
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$env:WINPYARCHbit-$env:WINPYVER2.md"
163+
$destfile = "publish_dot\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
164164
& "$env:build_location\python\python.exe" -m wppm -md
165165
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8
166166

0 commit comments

Comments
 (0)
0