Skip to content

Commit 3c3084e

Browse files
committed
ci(release): create GitHub release after PyPI publish
1 parent 51abb4f commit 3c3084e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,23 @@ jobs:
4040

4141
- name: Publish to PyPI
4242
uses: pypa/gh-action-pypi-publish@release/v1
43+
44+
github-release:
45+
needs: publish
46+
runs-on: ubuntu-latest
47+
permissions:
48+
contents: write
49+
steps:
50+
- uses: actions/checkout@v4
51+
52+
- name: Download dist artifacts
53+
uses: actions/download-artifact@v4
54+
with:
55+
name: dist
56+
path: dist/
57+
58+
- name: Create GitHub Release
59+
uses: softprops/action-gh-release@v2
60+
with:
61+
files: dist/*
62+
generate_release_notes: false

0 commit comments

Comments
 (0)