Skip to content

Commit 332afaf

Browse files
committed
Upload wheels to release
1 parent b72df38 commit 332afaf

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,22 @@ jobs:
9494
path: dist/
9595
- name: Publish distribution 📦 to PyPI
9696
uses: pypa/gh-action-pypi-publish@03f86fee9ac21f854951f5c6e2a02c2a1324aec7 # v1
97+
98+
release:
99+
if: github.ref_type == 'tag'
100+
runs-on: ubuntu-latest
101+
needs:
102+
- build
103+
permissions:
104+
contents: write
105+
security-events: write
106+
steps:
107+
- name: Upload wheels to release
108+
uses: softprops/action-gh-release@5122b4edc95f85501a71628a57dc180a03ec7588 # v2.5.0
109+
with:
110+
tag_name: ${{ github.ref_name }}
111+
name: ${{ github.ref_name }}
112+
draft: true
113+
files: dist/
114+
env:
115+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)