File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1- name : Upload Python Package to PyPI when Release is Created
1+ name : Upload Python Package to PyPI when "v" tag is pushed
22
3+ # Run the workflow whenever a tag beginning with `v` is pushed to any branch
34on :
4- release :
5- types : [created]
5+ push :
6+ tags :
7+ - v*
68
79jobs :
810 pypi-publish :
Original file line number Diff line number Diff line change 88
99jobs :
1010 conda-upload-main :
11- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-latest
1212
1313 defaults :
1414 run :
@@ -21,11 +21,11 @@ jobs:
2121 fetch-depth : 0
2222 ref : ${{ github.ref_name }}
2323
24- # setup Python 3.10
25- - name : Setup Python 3.10
24+ # setup Python 3.11
25+ - name : Setup Python 3.11
2626 uses : actions/setup-python@v4
2727 with :
28- python-version : ' 3.10 '
28+ python-version : ' 3.11 '
2929
3030 # install dependencies with conda
3131 - name : Install dependencies with conda
You can’t perform that action at this time.
0 commit comments