Skip to content

Commit

Permalink
Have setuptools-conda build conda packages from wheel
Browse files Browse the repository at this point in the history
Should circumvent build issues in osx-64 and win github runners
having mismatched build tools from miniconda.
  • Loading branch information
dihm committed Nov 12, 2024
1 parent 73a05c1 commit 1eeb27b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,15 @@ jobs:
path: ./dist

- name: Set Variables for Conda Build
# build conda package from wheel
# avoids conda build issues on github osx-x64 and win runners
if: matrix.conda
shell: bash
run: |
if [ $NOARCH == true ]; then
CONDA_BUILD_ARGS="--noarch"
else
CONDA_BUILD_ARGS=""
CONDA_BUILD_ARGS="--from-wheel"
fi
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
Expand Down

0 comments on commit 1eeb27b

Please sign in to comment.