File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919
2020 steps :
2121 - name : Checkout repository
22- uses : actions/checkout@v4
22+ uses : actions/checkout@v6
2323
2424 - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v5
25+ uses : actions/setup-python@v6
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828
Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v6
2020
21- - uses : actions/setup-python@v5
21+ - uses : actions/setup-python@v6
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424
4343 steps :
4444 - uses : actions/checkout@v6
4545
46- - uses : actions/setup-python@v5
46+ - uses : actions/setup-python@v6
4747 with :
4848 python-version : " 3.13"
4949
5252 pip install build
5353 python -m build
5454
55- - uses : actions/upload-artifact@v4
55+ - uses : actions/upload-artifact@v7
5656 with :
5757 name : dist
5858 path : dist/
@@ -66,20 +66,22 @@ jobs:
6666 contents : write
6767 packages : write
6868 steps :
69- - uses : actions/download-artifact@v4
69+ - uses : actions/download-artifact@v8
7070 with :
7171 name : dist
7272 path : dist/
7373
74- - uses : actions/setup-python@v5
74+ - uses : actions/setup-python@v6
7575 with :
7676 python-version : " 3.13"
7777
7878 - name : Create GitHub Release
7979 env :
8080 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8181 GH_REPO : ${{ github.repository }}
82- run : gh release create ${{ github.ref_name }} dist/* --generate-notes
82+ run : |
83+ gh release create ${{ github.ref_name }} dist/* --generate-notes \
84+ || gh release upload ${{ github.ref_name }} dist/* --clobber
8385
8486 - name : Install twine
8587 run : pip install --upgrade pip twine
@@ -101,7 +103,7 @@ jobs:
101103 needs : [publish]
102104 runs-on : ubuntu-latest
103105 steps :
104- - uses : actions/setup-python@v5
106+ - uses : actions/setup-python@v6
105107 with :
106108 python-version : " 3.13"
107109
You can’t perform that action at this time.
0 commit comments