File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Upload Python Package
33on :
44 release :
55 types : [published]
6+ workflow_dispatch :
67
78env :
89 python-version : 3.11
8384 - run : |
8485 git reset --hard HEAD
8586 python -m build
87+ - name : Upload dist artifacts
88+ uses : actions/upload-artifact@v4
89+ with :
90+ name : dist-artifacts
91+ path : dist/
8692
8793 deploy :
8894 name : Upload to PyPI
@@ -98,8 +104,10 @@ jobs:
98104 with :
99105 fetch-depth : 0
100106 submodules : recursive
101- - uses : actions/setup-python@v5
107+ - name : Download dist artifacts
108+ uses : actions/download-artifact@v4
102109 with :
103- python-version : ${{ env.python-version }}
110+ name : dist-artifacts
111+ path : dist/
104112 - name : Publish package distributions to PyPI
105113 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments