We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b1e68d + e974b09 commit f75348eCopy full SHA for f75348e
1 file changed
.github/workflows/ci-build.yml
@@ -53,3 +53,28 @@ jobs:
53
with:
54
name: python-package-distributions
55
path: dist/
56
+
57
+ publish:
58
+ name: Publish to PyPI
59
+ needs: build
60
+ runs-on: ubuntu-latest
61
62
+ if: startsWith(github.ref, 'refs/tags/')
63
64
+ permissions:
65
+ id-token: write
66
+ contents: read
67
68
+ environment:
69
+ name: release
70
+ url: https://pypi.org/p/scraperwiki
71
72
+ steps:
73
+ - name: Download artifacts
74
+ uses: actions/download-artifact@v4
75
+ with:
76
+ name: python-package-distributions
77
+ path: dist/
78
79
+ - name: Publish distribution to PyPI
80
+ uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
0 commit comments