Skip to content

Commit 00536a9

Browse files
committed
Create the GitHub release after publishing to PyPI
1 parent d9f7fa6 commit 00536a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ jobs:
102102
repository-url: https://test.pypi.org/legacy/
103103
print-hash: true
104104

105-
- name: Create GitHub Release from a Tag
106-
uses: softprops/action-gh-release@v2
107-
if: startsWith(github.ref, 'refs/tags/')
108-
with:
109-
files: dist/*
110-
111105
- name: Publish distribution 📦 to PyPI
112106
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
113107
uses: pypa/gh-action-pypi-publish@v1.11.0
114108
with:
115109
print-hash: true
110+
111+
- name: Create GitHub Release from a Tag
112+
uses: softprops/action-gh-release@v2
113+
if: startsWith(github.ref, 'refs/tags/')
114+
with:
115+
files: dist/*

0 commit comments

Comments
 (0)