File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11name : Build
22
33on :
4+ workflow_dispatch :
45 release :
56 types : [published]
67 push :
@@ -66,34 +67,34 @@ jobs:
6667 rm -rf junit
6768 rm -rf deps
6869 pip install build
69- if : matrix.python-version == 3.11
70+ if : matrix.python-version == 3.12
7071
7172 - name : Create distribution package
7273 run : python -m build
73- if : matrix.python-version == 3.11
74+ if : matrix.python-version == 3.12
7475
7576 - name : Upload distribution package
7677 uses : actions/upload-artifact@master
7778 with :
7879 name : dist
7980 path : dist
80- if : matrix.python-version == 3.11
81+ if : matrix.python-version == 3.12
8182
8283 publish :
8384 runs-on : ubuntu-latest
8485 needs : build
85- if : github.event_name == 'release'
86+ if : github.event_name == 'release' || github.event_name == 'workflow_dispatch'
8687 steps :
8788 - name : Download a distribution artifact
8889 uses : actions/download-artifact@v2
8990 with :
9091 name : dist
9192 path : dist
9293
93- - name : Use Python 3.11
94+ - name : Use Python 3.12
9495 uses : actions/setup-python@v1
9596 with :
96- python-version : ' 3.11 '
97+ python-version : ' 3.12 '
9798
9899 - name : Install dependencies
99100 run : |
You can’t perform that action at this time.
0 commit comments