From 91430882a51b43dcb094b718a660ecb3f07c0b3d Mon Sep 17 00:00:00 2001 From: stonebig Date: Thu, 14 Aug 2025 10:16:17 +0200 Subject: [PATCH] revert to curl from build #5 failure fascinating/educating to see AI influencing itself --- .../workflows/github_workflows_build-dot.yml | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github_workflows_build-dot.yml b/.github/workflows/github_workflows_build-dot.yml index 8fbb798e..21c5637f 100644 --- a/.github/workflows/github_workflows_build-dot.yml +++ b/.github/workflows/github_workflows_build-dot.yml @@ -1,4 +1,4 @@ -name: Build WinPython Dot 3.13, # fix to build #3 +name: Build WinPython Dot 3.13, # fix to build #5, Copilote AI pwsh was not a so good idea on: workflow_dispatch: @@ -11,15 +11,25 @@ jobs: uses: actions/checkout@v4 - name: Download python-3.13 standalone + shell: cmd + run: | + 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 + + - name: Show downloaded file info + shell: pwsh + run: | + Get-Item python-3.13-embed.zip | Format-List Name,Length,LastWriteTime + + - name: Wait before extraction shell: pwsh run: | - $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" - $output = "python-3.13-embed.zip" - Invoke-WebRequest -Uri $url -OutFile $output - Get-Item $output | Format-List Name,Length,LastWriteTime Start-Sleep -Seconds 2 + + - name: Extract python-3.13-embed.zip + shell: pwsh + run: | New-Item -ItemType Directory -Path dotpython - Expand-Archive -Path $output -DestinationPath dotpython + Expand-Archive -Path python-3.13-embed.zip -DestinationPath dotpython - name: List dotpython contents (for debugging) shell: pwsh