Skip to content

Commit 29b53e1

Browse files
committed
feat(python-cicd): add publish to PyPI
1 parent 0df05c6 commit 29b53e1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,20 @@ jobs:
4949
repository-url: https://test.pypi.org/legacy/
5050
skip-existing: true
5151
verbose: true
52+
publish-pypi:
53+
needs: build
54+
runs-on: ubuntu-latest
55+
environment: production
56+
permissions:
57+
id-token: write
58+
contents: read
59+
steps:
60+
- name: Download build artifacts
61+
uses: actions/download-artifact@v4
62+
with:
63+
name: simple-http-checker-${{ github.sha }}
64+
path: dist/
65+
- name: Publish to PyPI
66+
uses: pypa/gh-action-pypi-publish@release/v1
67+
with:
68+
verbose: true

0 commit comments

Comments
 (0)