Skip to content

Commit 35522bc

Browse files
committed
Add production PyPI release job
1 parent 58999ec commit 35522bc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,21 @@ jobs:
2929
with:
3030
repository-url: https://test.pypi.org/legacy/
3131
print-hash: true
32+
prod-pypi:
33+
if: github.ref_type == 'tag'
34+
runs-on: ubuntu-latest
35+
needs: build
36+
environment:
37+
name: prod-pypi
38+
url: https://pypi.org/p/pywmspro
39+
permissions:
40+
id-token: write
41+
steps:
42+
- uses: actions/download-artifact@v4
43+
with:
44+
name: Packages
45+
path: dist
46+
- uses: pypa/gh-action-pypi-publish@release/v1
47+
with:
48+
print-hash: true
3249
...

0 commit comments

Comments
 (0)