File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,21 +17,20 @@ jobs:
1717 - uses : actions/checkout@v2
1818 - uses : s-weigand/setup-conda@v1
1919 with :
20- python-version : " 3.9 "
20+ python-version : " 3.10 "
2121 - name : Which python
2222 run : |
2323 conda --version
2424 - name : Install dependencies
2525 run : |
2626 pip install .[templates,test]
2727 pip install setuptools wheel twine
28- - name : Test with pytest and build coverage report
29- run : |
30- pytest -s
31- - name : Publish on PyPI
28+ - name : Package and Upload
3229 env :
33- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
34- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
30+ STACKMANAGER_VERSION : ${{ github.event.release.tag_name }}
31+ TWINE_USERNAME : __token__
32+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
3533 run : |
36- python setup.py sdist bdist_wheel
34+ python -m build -- sdist --wheel
3735 twine upload dist/*
36+
You can’t perform that action at this time.
0 commit comments