File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,20 @@ jobs:
17
17
- uses : actions/checkout@v2
18
18
- uses : s-weigand/setup-conda@v1
19
19
with :
20
- python-version : " 3.9 "
20
+ python-version : " 3.10 "
21
21
- name : Which python
22
22
run : |
23
23
conda --version
24
24
- name : Install dependencies
25
25
run : |
26
26
pip install .[templates,test]
27
27
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
32
29
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 }}
35
33
run : |
36
- python setup.py sdist bdist_wheel
34
+ python -m build -- sdist --wheel
37
35
twine upload dist/*
36
+
You can’t perform that action at this time.
0 commit comments