We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b72df38 commit 3c146a7Copy full SHA for 3c146a7
1 file changed
.github/workflows/python-publish.yml
@@ -17,7 +17,6 @@ permissions:
17
18
jobs:
19
build:
20
- needs: prepare-release
21
name: Build distribution 📦
22
runs-on: ubuntu-latest
23
@@ -94,3 +93,22 @@ jobs:
94
93
path: dist/
95
- name: Publish distribution 📦 to PyPI
96
uses: pypa/gh-action-pypi-publish@03f86fee9ac21f854951f5c6e2a02c2a1324aec7 # v1
+
97
+ release:
98
+ if: github.ref_type == 'tag'
99
+ runs-on: ubuntu-latest
100
+ needs:
101
+ - build
102
+ permissions:
103
+ contents: write
104
+ security-events: write
105
+ steps:
106
+ - name: Upload wheels to release
107
+ uses: softprops/action-gh-release@5122b4edc95f85501a71628a57dc180a03ec7588 # v2.5.0
108
+ with:
109
+ tag_name: ${{ github.ref_name }}
110
+ name: ${{ github.ref_name }}
111
+ draft: true
112
+ files: dist/
113
+ env:
114
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments