We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b72df38 commit 332afafCopy full SHA for 332afaf
1 file changed
.github/workflows/python-publish.yml
@@ -94,3 +94,22 @@ jobs:
94
path: dist/
95
- name: Publish distribution 📦 to PyPI
96
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