Skip to content

Commit

Permalink
Activate environment before building wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Feb 21, 2020
1 parent 67b2089 commit 2557702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
- name: Prepare environment
run: .github/workflows/prepare_environment.sh 3
- name: Build distributions
run: python setup.py sdist bdist_wheel --universal
run: |
. "${CONDA}/bin/activate" test-env
python setup.py sdist bdist_wheel --universal
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit 2557702

Please sign in to comment.