-
-
Notifications
You must be signed in to change notification settings - Fork 39
745 lines (715 loc) · 22.1 KB
/
test_and_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
name: "Test and release"
on:
pull_request:
paths:
- '.github/workflows/test_and_release.yml'
- 'build-tools/*'
- 'etc/slurm-mail/templates/html'
- 'etc/slurm-mail/templates/text'
- 'setup.py'
- 'src/slurmmail/*.py'
- 'supported_slurm_versions.json'
- 'tests/integration/*.py'
- 'tests/integration/run.sh'
- 'tests/integration/tests.yml'
- 'tests/unit/*.py'
push:
paths:
- '.github/workflows/test_and_release.yml'
- 'build-tools/*'
- 'etc/slurm-mail/templates/html'
- 'etc/slurm-mail/templates/text'
- 'setup.py'
- 'src/slurmmail/*.py'
- 'supported_slurm_versions.json'
- 'tests/integration/*.py'
- 'tests/integration/run.sh'
- 'tests/integration/tests.yml'
- 'tests/unit/*.py'
workflow_dispatch:
jobs:
generate_python_matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- id: set-matrix
name: set-matrix
run: |
matrix=$(cat ./supported_python_versions.json)
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
unit_tests:
needs: generate_python_matrix
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ${{fromJson(needs.generate_python_matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest-cov
pip install typing-extensions
- name: Run unit tests
env:
COVERAGE_FILE: ".coverage.${{ matrix.python-version }}"
run: |
pytest -v
- name: Store coverage file
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: .coverage.${{ matrix.python-version }}
include-hidden-files: true
if-no-files-found: error
coverage:
name: Coverage
runs-on: ubuntu-latest
needs: unit_tests
if: ${{ github.event_name != 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
id: download
with:
pattern: coverage-*
merge-multiple: true
- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_COVERAGE_FILES: true
- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v4
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
with:
name: python-coverage-comment-action
path: python-coverage-comment-action.txt
build_tar:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create tar
id: create_tar
run: |
echo "TAR_PATH=$(
build-tools/create-tar.sh
)" >> $GITHUB_ENV
- name: Get tar file name
id: tar_name
run: |
echo "TAR_NAME=$(
basename ${{ env.TAR_PATH }}
)" >> $GITHUB_ENV
- name: Move tar file
run: mv -v ${{ env.TAR_PATH }} ./
- name: Create md5sum for tar file
run: md5sum ${{ env.TAR_NAME }} | awk '{ print $1}' > ${{ env.TAR_NAME }}.md5sum
- name: Store tar file
uses: actions/upload-artifact@v4
with:
name: tar_file
path: ${{ env.TAR_NAME }}
if-no-files-found: error
retention-days: 5
- name: Store tar file md5sum
uses: actions/upload-artifact@v4
with:
name: tar_file_md5sum
path: ${{ env.TAR_NAME }}.md5sum
if-no-files-found: error
retention-days: 5
build_rhel7:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create RHEL 7 RPM
run: build-tools/RedHat_7/build.sh
- name: Get package name
id: pkg_path
run: |
echo "RHEL7_RPM=$(
ls -1 build-tools/RedHat_7/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for RHEL 7 RPM
run: md5sum ${{ env.RHEL7_RPM }} > ${{ env.RHEL7_RPM }}.md5sum
- name: Store RHEL 7 RPM
uses: actions/upload-artifact@v4
with:
name: rhel7_pkg
path: ${{ env.RHEL7_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store RHEL 7 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: rhel7_pkg_md5sum
path: ${{ env.RHEL7_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_amzn2:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create Amazon Linux 2 RPM
run: build-tools/AmazonLinux_2/build.sh
- name: Get package name
id: pkg_path
run: |
echo "AMZN2_RPM=$(
ls -1 build-tools/AmazonLinux_2/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for Amazon Linux 2 RPM
run: md5sum ${{ env.AMZN2_RPM }} > ${{ env.AMZN2_RPM }}.md5sum
- name: Store Amazon Linux 2 RPM
uses: actions/upload-artifact@v4
with:
name: amzn2_pkg
path: ${{ env.AMZN2_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store Amazon Linux 2 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: amzn2_pkg_md5sum
path: ${{ env.AMZN2_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_amzn2023:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create Amazon Linux 2023 RPM
run: build-tools/AmazonLinux_2023/build.sh
- name: Get package name
id: pkg_path
run: |
echo "AMZN2023_RPM=$(
ls -1 build-tools/AmazonLinux_2023/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for Amazon Linux 2023 RPM
run: md5sum ${{ env.AMZN2023_RPM }} > ${{ env.AMZN2023_RPM }}.md5sum
- name: Store Amazon Linux 2023 RPM
uses: actions/upload-artifact@v4
with:
name: amzn2023_pkg
path: ${{ env.AMZN2023_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store Amazon Linux 2023 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: amzn2023_pkg_md5sum
path: ${{ env.AMZN2023_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_rhel8:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create RHEL 8 RPM
run: build-tools/RedHat_8/build.sh
- name: Get package name
id: pkg_path
run: |
echo "RHEL8_RPM=$(
ls -1 build-tools/RedHat_8/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for RHEL 8 RPM
run: md5sum ${{ env.RHEL8_RPM }} > ${{ env.RHEL8_RPM }}.md5sum
- name: Store RHEL 8 RPM
uses: actions/upload-artifact@v4
with:
name: rhel8_pkg
path: ${{ env.RHEL8_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store RHEL 8 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: rhel8_pkg_md5sum
path: ${{ env.RHEL8_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_rhel9:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create RHEL 9 RPM
run: build-tools/RedHat_9/build.sh
- name: Get package name
id: pkg_path
run: |
echo "RHEL9_RPM=$(
ls -1 build-tools/RedHat_9/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for RHEL 9 RPM
run: md5sum ${{ env.RHEL9_RPM }} > ${{ env.RHEL9_RPM }}.md5sum
- name: Store RHEL 9 RPM
uses: actions/upload-artifact@v4
with:
name: rhel9_pkg
path: ${{ env.RHEL9_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store RHEL 9 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: rhel9_pkg_md5sum
path: ${{ env.RHEL9_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_suse15:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create SUSE 15 RPM
run: build-tools/OpenSUSE_15/build.sh
- name: Get package name
id: pkg_path
run: |
echo "SUSE15_RPM=$(
ls -1 build-tools/OpenSUSE_15/slurm-mail*.rpm
)" >> $GITHUB_ENV
- name: Create md5sum for SUSE 15 RPM
run: md5sum ${{ env.SUSE15_RPM }} > ${{ env.SUSE15_RPM }}.md5sum
- name: Store SUSE 15 RPM
uses: actions/upload-artifact@v4
with:
name: suse15_pkg
path: ${{ env.SUSE15_RPM }}
if-no-files-found: error
retention-days: 5
- name: Store SUSE 15 RPM md5sum
uses: actions/upload-artifact@v4
with:
name: suse15_pkg_md5sum
path: ${{ env.SUSE15_RPM }}.md5sum
if-no-files-found: error
retention-days: 5
build_ubuntu20:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create Ubuntu 20
run: build-tools/Ubuntu_20.04/build.sh
- name: Get package name
id: pkg_path
run: |
echo "UBUNTU20_PKG=$(
ls -1 build-tools/Ubuntu_20.04/slurm-mail*.deb
)" >> $GITHUB_ENV
- name: Create md5sum for Ubuntu 20 package
run: md5sum ${{ env.UBUNTU20_PKG }} > ${{ env.UBUNTU20_PKG }}.md5sum
- name: Store Ubuntu 20 package
uses: actions/upload-artifact@v4
with:
name: ubuntu20_pkg
path: ${{ env.UBUNTU20_PKG }}
if-no-files-found: error
retention-days: 5
- name: Store Ubuntu 20 package md5sum
uses: actions/upload-artifact@v4
with:
name: ubuntu20_pkg_md5sum
path: ${{ env.UBUNTU20_PKG }}.md5sum
if-no-files-found: error
retention-days: 5
build_ubuntu22:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create Ubuntu 22
run: build-tools/Ubuntu_22.04/build.sh
- name: Get package name
id: pkg_path
run: |
echo "UBUNTU22_PKG=$(
ls -1 build-tools/Ubuntu_22.04/slurm-mail*.deb
)" >> $GITHUB_ENV
- name: Create md5sum for Ubuntu 22 package
run: md5sum ${{ env.UBUNTU22_PKG }} > ${{ env.UBUNTU22_PKG }}.md5sum
- name: Store Ubuntu 22 package
uses: actions/upload-artifact@v4
with:
name: ubuntu22_pkg
path: ${{ env.UBUNTU22_PKG }}
if-no-files-found: error
retention-days: 5
- name: Store Ubuntu 22 package md5sum
uses: actions/upload-artifact@v4
with:
name: ubuntu22_pkg_md5sum
path: ${{ env.UBUNTU22_PKG }}.md5sum
if-no-files-found: error
retention-days: 5
build_ubuntu24:
needs: unit_tests
permissions:
contents: read
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Create Ubuntu 24
run: build-tools/Ubuntu_24.04/build.sh
- name: Get package name
id: pkg_path
run: |
echo "UBUNTU24_PKG=$(
ls -1 build-tools/Ubuntu_24.04/slurm-mail*.deb
)" >> $GITHUB_ENV
- name: Create md5sum for Ubuntu 24 package
run: md5sum ${{ env.UBUNTU24_PKG }} > ${{ env.UBUNTU24_PKG }}.md5sum
- name: Store Ubuntu 24 package
uses: actions/upload-artifact@v4
with:
name: ubuntu24_pkg
path: ${{ env.UBUNTU24_PKG }}
if-no-files-found: error
retention-days: 5
- name: Store Ubuntu 24 package md5sum
uses: actions/upload-artifact@v4
with:
name: ubuntu24_pkg_md5sum
path: ${{ env.UBUNTU24_PKG }}.md5sum
if-no-files-found: error
retention-days: 5
generate_slurm_matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- id: set-matrix
name: set-matrix
run: |
matrix=$(cat ./supported_slurm_versions.json)
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
integration_tests_amzn2:
needs: [build_amzn2, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'amzn2_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o amzn2 -p
integration_tests_amzn2023:
needs: [build_amzn2023, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'amzn2023_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o amzn2023 -p
integration_tests_rhel7:
needs: [build_rhel7, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'rhel7_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o el7 -p
integration_tests_rhel8:
needs: [build_rhel8, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'rhel8_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o el8 -p
integration_tests_rhel9:
needs: [build_rhel9, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'rhel9_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o el9 -p
integration_tests_suse15:
needs: [build_suse15, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'suse15_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o sl15 -p
integration_tests_ubuntu20:
needs: [build_ubuntu20, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'ubuntu20_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o ub20 -p
integration_tests_ubuntu22:
needs: [build_ubuntu22, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'ubuntu22_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o ub22 -p
integration_tests_ubuntu24:
needs: [build_ubuntu24, generate_slurm_matrix]
permissions:
contents: read
packages: read
runs-on: ubuntu-20.04
strategy:
matrix:
slurm-version: ${{fromJson(needs.generate_slurm_matrix.outputs.matrix)}}
steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: 'ubuntu24_pkg'
path: tests/integration/
- name: Run integration tests
run: |
tests/integration/run.sh -s "${{ matrix.slurm-version }}" -o ub24 -p
release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [
build_tar,
integration_tests_amzn2,
integration_tests_amzn2023,
integration_tests_rhel7,
integration_tests_rhel8,
integration_tests_rhel9,
integration_tests_suse15,
integration_tests_ubuntu20,
integration_tests_ubuntu22,
integration_tests_ubuntu24
]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: create download directory
run: |
mkdir downloads
- uses: actions/download-artifact@v4
with:
pattern: 'amzn2_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'amzn2023_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'rhel7_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'rhel8_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'rhel9_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'suse15_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'tar_file*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'ubuntu20_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'ubuntu22_pkg*'
path: downloads
merge-multiple: true
- uses: actions/download-artifact@v4
with:
pattern: 'ubuntu24_pkg*'
path: downloads
merge-multiple: true
- run: ls -1 downloads
- name: GH Release
uses: softprops/action-gh-release@v2
with:
files: downloads/*