mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-10 02:24:36 -05:00
Directly Compress-Archive
Use New-Item and -Force Compress-Archive
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
name: Build Ubuntu and MacOS
|
||||
|
||||
|
||||
on: [push]
|
||||
#on: [push]
|
||||
on: [release]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: Upload source distribution to PyPI
|
||||
|
||||
on: [push, pull_request]
|
||||
#on: [push, pull_request]
|
||||
on: [release]
|
||||
|
||||
jobs:
|
||||
upload_source_dist:
|
||||
|
||||
@@ -28,9 +28,10 @@ jobs:
|
||||
run: |
|
||||
pip install pep517 wheel
|
||||
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 }}\.
|
||||
mkdir ${{ github.workspace }}\electron-wix\final
|
||||
cd ${{ github.workspace }}\electron-wix\blockchain
|
||||
Compress-Archive -Path wheels\ -DestinationPath ${{ github.workspace }}\electron-wix\final\windows-wheels.zip
|
||||
New-Item -ItemType Directory -Path ${{ github.workspace }}\electron-wix\final
|
||||
Compress-Archive -Path ${{ github.workspace }}\electron-wix\blockchain\* -DestinationPath ${{ github.workspace }}\electron-wix\final\windows-wheels.zip -Force
|
||||
Write-Host "windows-wheels.zip added to Artifacts"
|
||||
dir ${{ github.workspace }}\electron-wix\final
|
||||
|
||||
- name: Install electron-packager
|
||||
run: |
|
||||
|
||||
Generated
-3044
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user