File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -195,13 +195,6 @@ jobs:
195195 with :
196196 name : wheelhouse
197197 path : ./wheelhouse/*.whl
198-
199- - name : Keep version
200- uses : actions/upload-artifact@v3
201- if : matrix.platform == 'windows'
202- with :
203- name : version
204- path : PYPI_VERSION
205198
206199
207200 publish-wheels :
@@ -226,20 +219,17 @@ jobs:
226219 with :
227220 name : wheelhouse
228221 path : wheelhouse
229-
230- - uses : actions/download-artifact@v3
231- with :
232- name : version
233- path : .
234222
235223 - name : List assets
236224 run : |
237225 ls ./wheelhouse/*.whl -al
238- cat PYPI_VERSION
239-
226+
240227 - name : Get tag
241228 id : tag
242- run : echo "::set-output name=tag::v$(cat PYPI_VERSION)"
229+ run : echo "::set-output name=tag::v$(ls ./wheelhouse/*cp310*manylinux2014_x86_64*.whl | awk -F'[-]' '{print $2}')"
230+
231+ - name : Display tag
232+ run : echo "${{ steps.tag.outputs.tag }}"
243233
244234 - name : Upload wheels
245235 if : (github.event_name == 'push') || (github.event_name == 'workflow_dispatch')
You can’t perform that action at this time.
0 commit comments