44
44
- uses : actions/checkout@v4
45
45
with :
46
46
fetch-depth : 0
47
- - uses : actions/setup-python@v4
47
+ - uses : actions/setup-python@v5
48
48
with :
49
49
python-version : 3
50
50
- run : pip install --upgrade build twine
@@ -54,12 +54,12 @@ jobs:
54
54
- name : Build git archive
55
55
run : mkdir archive && git archive -v -o archive/nibabel-archive.tgz HEAD
56
56
- name : Upload sdist and wheel artifacts
57
- uses : actions/upload-artifact@v3
57
+ uses : actions/upload-artifact@v4
58
58
with :
59
59
name : dist
60
60
path : dist/
61
61
- name : Upload git archive artifact
62
- uses : actions/upload-artifact@v3
62
+ uses : actions/upload-artifact@v4
63
63
with :
64
64
name : archive
65
65
path : archive/
@@ -73,17 +73,17 @@ jobs:
73
73
steps :
74
74
- name : Download sdist and wheel artifacts
75
75
if : matrix.package != 'archive'
76
- uses : actions/download-artifact@v3
76
+ uses : actions/download-artifact@v4
77
77
with :
78
78
name : dist
79
79
path : dist/
80
80
- name : Download git archive artifact
81
81
if : matrix.package == 'archive'
82
- uses : actions/download-artifact@v3
82
+ uses : actions/download-artifact@v4
83
83
with :
84
84
name : archive
85
85
path : archive/
86
- - uses : actions/setup-python@v4
86
+ - uses : actions/setup-python@v5
87
87
with :
88
88
python-version : 3
89
89
- name : Display Python version
@@ -147,7 +147,7 @@ jobs:
147
147
submodules : recursive
148
148
fetch-depth : 0
149
149
- name : Set up Python ${{ matrix.python-version }}
150
- uses : actions/setup-python@v4
150
+ uses : actions/setup-python@v5
151
151
with :
152
152
python-version : ${{ matrix.python-version }}
153
153
architecture : ${{ matrix.architecture }}
@@ -167,9 +167,9 @@ jobs:
167
167
with :
168
168
files : cov.xml
169
169
- name : Upload pytest test results
170
- uses : actions/upload-artifact@v3
170
+ uses : actions/upload-artifact@v4
171
171
with :
172
- name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
172
+ name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.dependencies }}-${{ matrix.architecture }}
173
173
path : test-results.xml
174
174
if : ${{ always() }}
175
175
@@ -183,7 +183,7 @@ jobs:
183
183
steps :
184
184
- uses : actions/checkout@v4
185
185
- name : Set up Python ${{ matrix.python-version }}
186
- uses : actions/setup-python@v4
186
+ uses : actions/setup-python@v5
187
187
with :
188
188
python-version : 3
189
189
- name : Display Python version
@@ -204,7 +204,7 @@ jobs:
204
204
id-token : write
205
205
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
206
206
steps :
207
- - uses : actions/download-artifact@v3
207
+ - uses : actions/download-artifact@v4
208
208
with :
209
209
name : dist
210
210
path : dist/
0 commit comments