99 name : Build
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
12+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+ with :
14+ persist-credentials : false
1315
1416 - run : pipx run build
1517
16- - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3 .3
18+ - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4 .3
1719 with :
1820 name : distfiles
1921 path : dist/
@@ -27,16 +29,19 @@ jobs:
2729 needs : build
2830 steps :
2931 # We need to be in a git repo for gh to work.
30- - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
32+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+ with :
34+ persist-credentials : false
3135
32- - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
36+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
3337 with :
3438 name : distfiles
3539 path : dist/
3640
37- - run : gh release upload ${{ github.event.release.tag_name }} dist/*.{tar.gz,whl}
41+ - run : gh release upload "${TAG_NAME}" dist/*.{tar.gz,whl}
3842 env :
3943 GH_TOKEN : ${{ github.token }}
44+ TAG_NAME : ${{ github.event.release.tag_name }}
4045
4146 upload-pypi :
4247 name : Upload (PyPI)
@@ -48,11 +53,11 @@ jobs:
4853 id-token : write
4954 needs : build
5055 steps :
51- - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
56+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
5257 with :
5358 name : distfiles
5459 path : dist/
5560
56- - uses : pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
61+ - uses : pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
5762 with :
5863 print-hash : true
0 commit comments