Skip to content

Commit 046945c

Browse files
committed
prepare for build #5
we note copilote pushes for powershell, but that's not a problem
1 parent f6f2706 commit 046945c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/github_workflows_build-dot.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Download python-3.13 standalone
14+
shell: pwsh
1415
run: |
15-
curl -L -o python-3.13-embed.zip https://github.com/indygreg/python-build-standalone/releases/download/20240421/cpython-3.13.0b1+20240421-x86_64-pc-windows-msvc-shared-install_only.zip
16-
mkdir dotpython
17-
# tar -xf python-3.13-embed.zip -C dotpython
18-
powershell -Command "Expand-Archive -Path 'python-3.13-embed.zip' -DestinationPath 'dotpython'"
16+
$url = "https://github.com/indygreg/python-build-standalone/releases/download/20240421/cpython-3.13.0b1+20240421-x86_64-pc-windows-msvc-shared-install_only.zip"
17+
$output = "python-3.13-embed.zip"
18+
Invoke-WebRequest -Uri $url -OutFile $output
19+
Get-Item $output | Format-List Name,Length,LastWriteTime
20+
Start-Sleep -Seconds 2
21+
New-Item -ItemType Directory -Path dotpython
22+
Expand-Archive -Path $output -DestinationPath dotpython
1923
20-
- name: List dotpython contents
24+
- name: List dotpython contents (for debugging)
2125
shell: pwsh
2226
run: |
2327
Get-ChildItem -Recurse dotpython
2428
2529
- name: Prepare WinPython dot structure
26-
# run: |
27-
# mkdir WinPython-dot-3.13
28-
# move dotpython\* WinPython-dot-3.13\
2930
shell: pwsh
3031
run: |
3132
New-Item -ItemType Directory -Path WinPython-dot-3.13
@@ -34,6 +35,10 @@ jobs:
3435
Get-ChildItem -Path dotpython -Force | Move-Item -Destination WinPython-dot-3.13 -Force
3536
# Add more WinPython-specific folders/files here if needed
3637
38+
- name: List WinPython-dot-3.13 contents (for debugging)
39+
shell: pwsh
40+
run: |
41+
Get-ChildItem -Recurse WinPython-dot-3.13
3742
- name: Zip the result
3843
# run: |
3944
# Compress-Archive -Path WinPython-dot-3.13\* -DestinationPath WinPython-dot-3.13.zip

0 commit comments

Comments
 (0)