File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -10,31 +10,29 @@ jobs:
1010
1111 steps :
1212 - name : Check out code
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1414
1515 - name : Set up Miniconda
1616 uses : conda-incubator/setup-miniconda@v2
1717 with :
1818 auto-activate-base : false
1919 python-version : 3.8
20+ environment-file : environment.yml
21+ activate-environment : cool-graph-env
2022
21- - name : Create and activate Conda environment
22- shell : bash -l {0}
23+ - name : Install build tools and dependencies
2324 run : |
24- conda env create --file environment.yml --name cool-graph-env
2525 source $(conda info --base)/etc/profile.d/conda.sh
2626 conda activate cool-graph-env
27- # Upgrade pip and install build and twine
2827 python -m pip install --upgrade pip setuptools wheel
2928 python -m pip install build twine
3029
3130 - name : Build and publish package
32- shell : bash -l {0}
3331 env :
3432 TWINE_USERNAME : __token__
3533 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
3634 run : |
3735 source $(conda info --base)/etc/profile.d/conda.sh
3836 conda activate cool-graph-env
3937 python -m build
40- python -m twine upload dist/*
38+ python -m twine upload dist/* --verbose
You can’t perform that action at this time.
0 commit comments