Skip to content

Commit 31efdd3

Browse files
committed
Move Compress-Archive to final wix step in rebuild-all.ps1
Update wheel input directory Check directory contents Directory nested? dir Take 2
1 parent aff431f commit 31efdd3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/windows-installer.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ jobs:
2828
run: |
2929
pip install pep517 wheel
3030
pip wheel --use-pep517 --only-binary cbor2 --extra-index-url https://download.chia.net/simple/ -f ${{ github.workspace }} --wheel-dir=${{ github.workspace }}\electron-wix\blockchain ${{ github.workspace }}\.
31-
New-Item -ItemType Directory -Path ${{ github.workspace }}\electron-wix\final
32-
Compress-Archive -Path ${{ github.workspace }}\electron-wix\blockchain\* -DestinationPath ${{ github.workspace }}\electron-wix\final\windows-wheels.zip -Force
33-
Write-Host "windows-wheels.zip added to Artifacts"
34-
dir ${{ github.workspace }}\electron-wix\final
3531
3632
- name: Install electron-packager
3733
run: |

electron-wix/rebuild-all.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ Write-Host "Successfully built Chia installer for $env:version"
2727
New-Item -ItemType Directory -Path "$finalDir"
2828
Copy-Item "$buildDir\*.msi" "$finalDir\" -Force
2929
Copy-Item "$buildDir\*.exe" "$finalDir\" -Force
30+
Copy-Item ".\blockchain\*.whl" "$blockchainDir\wheels" -Force
31+
dir ".\blockchain\*.whl"
32+
# Put a .zip of windows-wheels in Artifacts
33+
# Compress-Archive -Path "$blockchainDir\wheels\" -DestinationPath "$finalDir\windows-wheels.zip" -Force

0 commit comments

Comments
 (0)