Skip to content

Commit 9143088

Browse files
committed
revert to curl from build #5 failure
fascinating/educating to see AI influencing itself
1 parent 046945c commit 9143088

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/github_workflows_build-dot.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build WinPython Dot 3.13, # fix to build #3
1+
name: Build WinPython Dot 3.13, # fix to build #5, Copilote AI pwsh was not a so good idea
22

33
on:
44
workflow_dispatch:
@@ -11,15 +11,25 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Download python-3.13 standalone
14+
shell: cmd
15+
run: |
16+
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
17+
18+
- name: Show downloaded file info
19+
shell: pwsh
20+
run: |
21+
Get-Item python-3.13-embed.zip | Format-List Name,Length,LastWriteTime
22+
23+
- name: Wait before extraction
1424
shell: pwsh
1525
run: |
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
2026
Start-Sleep -Seconds 2
27+
28+
- name: Extract python-3.13-embed.zip
29+
shell: pwsh
30+
run: |
2131
New-Item -ItemType Directory -Path dotpython
22-
Expand-Archive -Path $output -DestinationPath dotpython
32+
Expand-Archive -Path python-3.13-embed.zip -DestinationPath dotpython
2333
2434
- name: List dotpython contents (for debugging)
2535
shell: pwsh

0 commit comments

Comments
 (0)