We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f438d commit 90b7c54Copy full SHA for 90b7c54
1 file changed
.github/workflows/release.yml
@@ -198,3 +198,26 @@ jobs:
198
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
199
with:
200
packages-dir: dist
201
+
202
+ github-release:
203
+ name: GitHub release
204
+ needs: publish
205
+ if: startsWith(github.ref, 'refs/tags/')
206
+ runs-on: ubuntu-latest
207
+ permissions:
208
+ contents: write
209
210
+ steps:
211
+ - uses: actions/download-artifact@v4
212
+ with:
213
+ path: dist
214
+ merge-multiple: true
215
216
+ - name: Create GitHub release
217
+ env:
218
+ GH_TOKEN: ${{ github.token }}
219
+ run: >-
220
+ gh release create "$GITHUB_REF_NAME" dist/*
221
+ --repo "$GITHUB_REPOSITORY"
222
+ --title "$GITHUB_REF_NAME"
223
+ --generate-notes
0 commit comments