21
21
matrix : ${{ steps.set-matrix.outputs.matrix }}
22
22
is-copr-enabled : ${{ steps.is-copr-enabled.outputs.defined }}
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
with :
26
26
ref : ${{ github.ref }}
27
27
45
45
- name : Install deps
46
46
run : dnf install -y git make python3
47
47
48
- - uses : actions/checkout@v3
48
+ - uses : actions/checkout@v4
49
49
with :
50
50
ref : ${{ github.ref }}
51
51
fetch-depth : 0
83
83
mv fapolicy-analyzer-${spec_version}.tar.gz fapolicy-analyzer-${patched_version}.tar.gz
84
84
85
85
- name : Upload
86
- uses : actions/upload-artifact@v3
86
+ uses : actions/upload-artifact@v4
87
87
with :
88
88
name : source0
89
89
path : |
@@ -102,7 +102,7 @@ jobs:
102
102
run : |
103
103
dnf install -y git dnf5-plugins dnf-plugins-core cargo2rpm
104
104
105
- - uses : actions/checkout@v3
105
+ - uses : actions/checkout@v4
106
106
with :
107
107
ref : ${{ github.ref }}
108
108
fetch-depth : 0
@@ -126,7 +126,7 @@ jobs:
126
126
scripts/srpm/vendor-rs.sh
127
127
128
128
- name : Upload tarball
129
- uses : actions/upload-artifact@v3
129
+ uses : actions/upload-artifact@v4
130
130
with :
131
131
name : crates0
132
132
path : |
@@ -152,7 +152,7 @@ jobs:
152
152
- name : Install Git
153
153
run : dnf install -y git
154
154
155
- - uses : actions/checkout@v3
155
+ - uses : actions/checkout@v4
156
156
with :
157
157
ref : ${{ github.ref }}
158
158
fetch-depth : 0
@@ -214,14 +214,14 @@ jobs:
214
214
make -f .copr/Makefile dnf OS_ID=${{ matrix.props.platform }}
215
215
216
216
- name : Fetch Source0 tarball
217
- uses : actions/download-artifact@v3
217
+ uses : actions/download-artifact@v4
218
218
with :
219
219
name : source0
220
220
path : /tmp/rpmbuild/SOURCES/
221
221
222
222
- name : Fetch Crates0 tarball
223
223
if : startsWith(matrix.props.dist, 'el')
224
- uses : actions/download-artifact@v3
224
+ uses : actions/download-artifact@v4
225
225
with :
226
226
name : crates0
227
227
path : /tmp/rpmbuild/SOURCES/
@@ -259,16 +259,16 @@ jobs:
259
259
mv /tmp/rpmbuild/SOURCES/vendor-rs-${version}.tar.gz /tmp/archives/
260
260
261
261
- name : Upload Tarballs
262
- uses : actions/upload-artifact@v3
262
+ uses : actions/upload-artifact@v4
263
263
with :
264
- name : tarball-artifacts
264
+ name : tarball-artifacts-${{ matrix.props.dist }}
265
265
path : |
266
266
/tmp/archives/*.tar.gz
267
267
268
268
- name : Upload SRPMs
269
- uses : actions/upload-artifact@v3
269
+ uses : actions/upload-artifact@v4
270
270
with :
271
- name : srpm-artifacts
271
+ name : srpm-artifacts-${{ matrix.props.dist }}
272
272
path : |
273
273
/tmp/archives/*.src.rpm
274
274
@@ -291,9 +291,9 @@ jobs:
291
291
dnf install -y copr-cli
292
292
293
293
- name : Download srpm artifacts
294
- uses : actions/download-artifact@v3
294
+ uses : actions/download-artifact@v4
295
295
with :
296
- name : srpm-artifacts
296
+ name : srpm-artifacts-${{ matrix.props.dist }}
297
297
path : /tmp/
298
298
299
299
- name : Checksum artifacts
@@ -325,21 +325,21 @@ jobs:
325
325
strategy :
326
326
matrix : ${{ fromJson(needs.config.outputs.matrix )}}
327
327
steps :
328
- - uses : actions/checkout@v3
328
+ - uses : actions/checkout@v4
329
329
with :
330
330
ref : ${{ github.ref }}
331
331
332
332
- name : Download srpm artifacts
333
- uses : actions/download-artifact@v3
333
+ uses : actions/download-artifact@v4
334
334
with :
335
- name : srpm-artifacts
335
+ name : srpm-artifacts-${{ matrix.props.dist }}
336
336
path : /tmp/src/
337
337
338
338
- name : Download tarball artifacts
339
339
if : startsWith(matrix.props.dist, 'el')
340
- uses : actions/download-artifact@v3
340
+ uses : actions/download-artifact@v4
341
341
with :
342
- name : tarball-artifacts
342
+ name : tarball-artifacts-${{ matrix.props.dist }}
343
343
path : /tmp/src/
344
344
345
345
- name : Checksum artifacts
@@ -382,9 +382,9 @@ jobs:
382
382
ls | grep -v -e debug -e log | xargs mv -t /tmp/archives
383
383
384
384
- name : Upload RPMs
385
- uses : actions/upload-artifact@v3
385
+ uses : actions/upload-artifact@v4
386
386
with :
387
- name : rpm-artifacts
387
+ name : rpm-artifacts-${{ matrix.props.dist }}
388
388
path : |
389
389
/tmp/archives/*.x86_64.rpm
390
390
@@ -397,14 +397,14 @@ jobs:
397
397
matrix : ${{ fromJson(needs.config.outputs.matrix )}}
398
398
continue-on-error : ${{ matrix.props.prerelease }}
399
399
steps :
400
- - uses : actions/checkout@v3
400
+ - uses : actions/checkout@v4
401
401
with :
402
402
ref : ${{ github.ref }}
403
403
404
404
- name : Download rpm artifacts
405
- uses : actions/download-artifact@v3
405
+ uses : actions/download-artifact@v4
406
406
with :
407
- name : rpm-artifacts
407
+ name : rpm-artifacts-${{ matrix.props.dist }}
408
408
path : /tmp/src/
409
409
410
410
- name : Checksum artifacts
@@ -431,12 +431,12 @@ jobs:
431
431
if : startsWith(github.ref, 'refs/tags/v')
432
432
runs-on : ubuntu-20.04
433
433
steps :
434
- - uses : actions/checkout@v3
434
+ - uses : actions/checkout@v4
435
435
with :
436
436
ref : ${{ github.ref }}
437
437
438
438
- name : Download artifacts
439
- uses : actions/download-artifact@v3
439
+ uses : actions/download-artifact@v4
440
440
with :
441
441
path : /tmp/archives/
442
442
0 commit comments