From 40e255cd3396d02889b360f9a561f61bb00632ec Mon Sep 17 00:00:00 2001 From: Gene Hoffman Date: Mon, 20 Apr 2020 02:39:04 -0700 Subject: [PATCH] regex take 2 --- .github/workflows/windows-installer.yml | 2 +- electron-wix/build-blockchain-msi.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-installer.yml b/.github/workflows/windows-installer.yml index 82ec014b19..df9de560ec 100644 --- a/.github/workflows/windows-installer.yml +++ b/.github/workflows/windows-installer.yml @@ -24,7 +24,7 @@ jobs: curl -OL --show-error --fail https://download.chia.net/simple/miniupnpc/miniupnpc-2.1-cp37-cp37m-win_amd64.whl curl -OL --show-error --fail https://download.chia.net/simple/setproctitle/setproctitle-1.1.10-cp37-cp37m-win_amd64.whl - - name: Create and collect all wheels for chia-blockchain + - name: Collect and Create wheels for chia-blockchain 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 }}\. diff --git a/electron-wix/build-blockchain-msi.ps1 b/electron-wix/build-blockchain-msi.ps1 index 8016b6e895..158d1aef22 100644 --- a/electron-wix/build-blockchain-msi.ps1 +++ b/electron-wix/build-blockchain-msi.ps1 @@ -22,7 +22,7 @@ Copy-Item ".\blockchain\*.whl" "$blockchainDir\wheels" -Force # generate the script that will install all the wheels on the target machine $text = "" -Get-ChildItem "$blockchainDir\wheels" -Filter chia_blockchain-*-py3-none-any.whl | +Get-ChildItem "$blockchainDir\wheels" -Filter chia_blockchain*py3-none-any.whl | Foreach-Object { $name = $_.Name $text += "pip install --find-links .\wheels\ .\wheels\$name`n"