@@ -16,25 +16,24 @@ jobs:
1616 build :
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
22- - uses : actions/setup-python@v4
22+ - uses : actions/setup-python@v5
2323 with :
2424 python-version : " 3.10"
2525 - run : pip install --upgrade build twine
2626 - name : Build sdist and wheel
2727 run : python -m build
2828 - run : twine check dist/*
2929 - name : Upload sdist and wheel artifacts
30- uses : actions/upload-artifact@v3
3130 with :
3231 name : dist
3332 path : dist/
3433 - name : Build git archive
3534 run : mkdir archive && git archive -v -o archive/archive.tgz HEAD
3635 - name : Upload git archive artifact
37- uses : actions/upload-artifact@v3
36+ uses : actions/upload-artifact@v4
3837 with :
3938 name : archive
4039 path : archive/
@@ -47,17 +46,17 @@ jobs:
4746 steps :
4847 - name : Download sdist and wheel artifacts
4948 if : matrix.package != 'archive'
50- uses : actions/download -artifact@v3
49+ uses : actions/upload -artifact@v4
5150 with :
5251 name : dist
5352 path : dist/
5453 - name : Download git archive artifact
5554 if : matrix.package == 'archive'
56- uses : actions/download -artifact@v3
55+ uses : actions/upload -artifact@v4
5756 with :
5857 name : archive
5958 path : archive/
60- - uses : actions/setup-python@v4
59+ - uses : actions/setup-python@v5
6160 with :
6261 python-version : " 3.10"
6362 - name : Display Python version
8685 needs : [test-package]
8786 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
8887 steps :
89- - uses : actions/download -artifact@v3
88+ - uses : actions/upload -artifact@v4
9089 with :
9190 name : dist
9291 path : dist/
0 commit comments