File tree Expand file tree Collapse file tree 1 file changed +19
-12
lines changed
Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -454,20 +454,27 @@ jobs:
454454 with :
455455 folder : docs/build
456456 clean : true
457- - name : Download ROCm wheels Linux
457+ - name : Download ROCm wheels and zip for release
458458 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
459- uses : actions/download-artifact@v4
460- with :
461- name : rocm-python-wheels-Linux
462- path : wheels/
463- - name : Download ROCm wheels Windows
464- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
465- uses : actions/download-artifact@v4
466- with :
467- name : rocm-python-wheels-Windows
468- path : wheels/
459+ env :
460+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
461+ run : |
462+ mkdir -p release-zips
463+
464+ gh run download ${{ github.run_id }} \
465+ --name rocm-python-wheels-Linux \
466+ --dir temp-linux
467+ zip -r release-zips/rocm-python-wheels-Linux.zip temp-linux/*
468+ rm -rf temp-linux
469+
470+ gh run download ${{ github.run_id }} \
471+ --name rocm-python-wheels-Windows \
472+ --dir temp-windows
473+ zip -r release-zips/rocm-python-wheels-Windows.zip temp-windows/*
474+ rm -rf temp-windows
475+
469476 - name : Create GitHub Release
470477 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
471478 uses : softprops/action-gh-release@v2
472479 with :
473- files : wheels /*.whl
480+ files : release-zips /*.zip
You can’t perform that action at this time.
0 commit comments