9
9
name : Build
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
12
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13
+ with :
14
+ persist-credentials : false
13
15
14
16
- run : pipx run build
15
17
16
- - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3 .3
18
+ - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4 .3
17
19
with :
18
20
name : distfiles
19
21
path : dist/
@@ -27,16 +29,19 @@ jobs:
27
29
needs : build
28
30
steps :
29
31
# 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
31
35
32
- - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
36
+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
33
37
with :
34
38
name : distfiles
35
39
path : dist/
36
40
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}
38
42
env :
39
43
GH_TOKEN : ${{ github.token }}
44
+ TAG_NAME : ${{ github.event.release.tag_name }}
40
45
41
46
upload-pypi :
42
47
name : Upload (PyPI)
@@ -48,11 +53,11 @@ jobs:
48
53
id-token : write
49
54
needs : build
50
55
steps :
51
- - uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
56
+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
52
57
with :
53
58
name : distfiles
54
59
path : dist/
55
60
56
- - uses : pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
61
+ - uses : pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
57
62
with :
58
63
print-hash : true
0 commit comments