Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/github_workflows_build-dot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
- name: see variables
shell: pwsh
run: |
echo $env:WINPYVERSION
echo $env:python_source
echo $env:python_sha256
Write-Output "WINPYVERSION is $env:WINPYVERSION"
Write-Output "python_source is $env:python_source"
Write-Output "python_sha256 is $env:python_sha256"

- name: Download python-3 standalone
shell: pwsh
run: |
curl.exe -L -o "python-$env:WINPYVERSION-embed.tar.gz" $env:python_source
curl.exe -L -o "python-3-embed.tar.gz" $env:python_source
# Calculate SHA256 hash
$filePath = "python-$env:WINPYVERSION-embed.tar.gz"
$filePath = "python-3-embed.tar.gz"
$expectedHash = $env:python_sha256

$hashObject = Get-FileHash -Path $filePath -Algorithm SHA256
Expand All @@ -56,13 +56,13 @@ jobs:
exit 1
}

- name: Extract python-$WINPYVERSION-embed.tar.gz to dotpython
- name: Extract python-3-embed.tar.gz to dotpython
shell: bash
env:
WINPYVERSION: ${{ env.WINPYVERSION }}
run: |
mkdir dotpython
tar -xf python-$WINPYVERSION-embed.tar.gz -C dotpython
tar -xf python-3-embed.tar.gz -C dotpython

#- name: re-compress archive in zip for usual worflow
# shell: pwsh
Expand Down