Directly Compress-Archive

Use New-Item and -Force Compress-Archive
This commit is contained in:
Gene Hoffman
2020-04-27 13:44:59 -07:00
parent 33b365ab7e
commit aff431faa5
4 changed files with 8 additions and 3049 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
name: Build Ubuntu and MacOS
on: [push]
#on: [push]
on: [release]
jobs:
build:
+2 -1
View File
@@ -1,6 +1,7 @@
name: Upload source distribution to PyPI
on: [push, pull_request]
#on: [push, pull_request]
on: [release]
jobs:
upload_source_dist:
+4 -3
View File
@@ -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: |
-3044
View File
File diff suppressed because it is too large Load Diff