File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 2828 shell : bash -l {0}
2929 run : |
3030 conda env create --file environment.yml --name cool-graph-env
31- conda activate cool-graph-env
32- # Ensure recent versions of pip and setuptools
33- python -m pip install --upgrade pip setuptools wheel twine
31+ source activate cool-graph-env
32+ # Ensure recent versions of pip, setuptools, and install build and twine
33+ python -m pip install --upgrade pip setuptools wheel
34+ python -m pip install build twine
3435
3536 release :
3637 runs-on : ubuntu-latest
@@ -50,15 +51,17 @@ jobs:
5051 shell : bash -l {0}
5152 run : |
5253 conda env create --file environment.yml --name cool-graph-env
53- conda activate cool-graph-env
54- python -m pip install --upgrade pip setuptools wheel twine
54+ source activate cool-graph-env
55+ # Ensure recent versions of pip, setuptools, and install build and twine
56+ python -m pip install --upgrade pip setuptools wheel
57+ python -m pip install build twine
5558
5659 - name : Build and publish package
5760 shell : bash -l {0}
5861 env :
5962 TWINE_USERNAME : __token__
6063 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
6164 run : |
62- conda activate cool-graph-env
65+ source activate cool-graph-env
6366 python -m build
6467 python -m twine upload dist/*
You can’t perform that action at this time.
0 commit comments