1818 tags :
1919 - " v*.*.*"
2020
21+ permissions : {}
2122jobs :
2223 build-pypi-distribs :
2324 name : Build and publish library to PyPI
2425 runs-on : ubuntu-24.04
2526
2627 steps :
27- - uses : actions/checkout@v4
28+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
29+ with :
30+ persist-credentials : false
2831 - name : Set up Python
29- uses : actions/setup-python@v5
32+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
3033 with :
3134 python-version : 3.12
3235
4043 run : python -m twine check dist/*
4144
4245 - name : Upload built archives
43- uses : actions/upload-artifact@v4
46+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
4447 with :
4548 name : pypi_archives
4649 path : dist/*
@@ -54,13 +57,13 @@ jobs:
5457
5558 steps :
5659 - name : Download built archives
57- uses : actions/download-artifact@v4
60+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
5861 with :
5962 name : pypi_archives
6063 path : dist
6164
6265 - name : Create GH release
63- uses : softprops/action-gh-release@v2
66+ uses : softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
6467 with :
6568 draft : true
6669 files : dist/*
@@ -77,11 +80,11 @@ jobs:
7780
7881 steps :
7982 - name : Download built archives
80- uses : actions/download-artifact@v4
83+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
8184 with :
8285 name : pypi_archives
8386 path : dist
8487
8588 - name : Publish to PyPI
8689 if : startsWith(github.ref, 'refs/tags')
87- uses : pypa/gh-action-pypi-publish@release/v1
90+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
0 commit comments