From e399d1fed8464d910793530337a3185c92079077 Mon Sep 17 00:00:00 2001 From: rudy Date: Mon, 27 Feb 2023 10:28:58 +0100 Subject: [PATCH] fix(ci): prepare_release, macos, bad wheel path --- .github/workflows/prepare_release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index 8eae3f803..d344a55ef 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -239,9 +239,12 @@ jobs: make Python3_EXECUTABLE=$(which python) DATAFLOW_EXECUTION_ENABLED=OFF python-bindings export CONCRETE_COMPILER_DATAFLOW_EXECUTION_ENABLED=OFF make python-package - echo "::set-output name=ASSET_NAME::$(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl' | rev |cut -d "/" -f 1 |rev )" + cp -R build/wheels ${{ github.workspace }}/wheels + cd ${{ github.workspace }}/wheels/ + WHEEL=$(ls *macosx*.whl) + echo "::set-output name=ASSET_NAME::$WHEEL" # used later for python package test - echo "::set-output name=ASSET_NAME_PY$(echo ${{ matrix.python }} |tr -d '.')::$(find ${{ github.workspace }}/wheels/ -name '*macosx*.whl' | rev |cut -d "/" -f 1 |rev )" + echo "::set-output name=ASSET_NAME_PY$(echo ${{ matrix.python }} |tr -d '.')::$WHEEL" - name: Upload Python Package uses: actions/upload-release-asset@v1