Skip to content

Commit 4f53283

Browse files
authored
Merge pull request winpython#1731 from stonebig/master
next peach
2 parents 014dd66 + f6f2706 commit 4f53283

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/github_workflows_build-dot.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build WinPython Dot 3.13
1+
name: Build WinPython Dot 3.13, # fix to build #3
22

33
on:
44
workflow_dispatch:
@@ -16,14 +16,22 @@ jobs:
1616
mkdir dotpython
1717
# tar -xf python-3.13-embed.zip -C dotpython
1818
powershell -Command "Expand-Archive -Path 'python-3.13-embed.zip' -DestinationPath 'dotpython'"
19+
20+
- name: List dotpython contents
21+
shell: pwsh
22+
run: |
23+
Get-ChildItem -Recurse dotpython
24+
1925
- name: Prepare WinPython dot structure
2026
# run: |
2127
# mkdir WinPython-dot-3.13
2228
# move dotpython\* WinPython-dot-3.13\
2329
shell: pwsh
2430
run: |
2531
New-Item -ItemType Directory -Path WinPython-dot-3.13
26-
Get-ChildItem dotpython | Move-Item -Destination WinPython-dot-3.13
32+
# Get-ChildItem dotpython | Move-Item -Destination WinPython-dot-3.13
33+
# fix: Usually, indygreg zips extract all files directly into the target, not into a subfolder: dotpython/python.exe, dotpython/Lib, etc.
34+
Get-ChildItem -Path dotpython -Force | Move-Item -Destination WinPython-dot-3.13 -Force
2735
# Add more WinPython-specific folders/files here if needed
2836
2937
- name: Zip the result
@@ -37,4 +45,4 @@ jobs:
3745
uses: actions/upload-artifact@v4
3846
with:
3947
name: WinPython-dot-3.13
40-
path: WinPython-dot-3.13.zip
48+
path: WinPython-dot-3.13.zip

0 commit comments

Comments
 (0)