-
Notifications
You must be signed in to change notification settings - Fork 4
67 lines (65 loc) · 1.71 KB
/
test.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
name: "Test downloading artifacts"
on:
workflow_dispatch:
inputs:
number_of_jobs:
description: "Quantity of KAD jobs"
required: true
default: 4
env:
NUMBER_OF_JOBS: ${{ github.event.inputs.number_of_jobs || 4 }}
jobs:
generate-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE"
mkdir ./expired-d
touch ./expired-d/test-1.txt
touch ./expired-d/test-2.txt
touch ./expired-d/test-3.txt
touch ./expired-d/test-4.txt
touch ./expired-d/test-5.txt
- uses: actions/upload-artifact@v4
with:
name: E_KAD_01
path: |
expired-d/test-1.txt
- uses: actions/upload-artifact@v4
with:
name: E_KAD_02
path: |
expired-d/test-2.txt
- uses: actions/upload-artifact@v4
with:
name: E_KAD_03
path: |
expired-d/test-3.txt
- uses: actions/upload-artifact@v4
with:
name: E_KAD_04
path: |
expired-d/test-4.txt
- uses: actions/upload-artifact@v4
with:
name: E_KAD_05
path: |
expired-d/test-5.txt
download-artifacts:
needs: generate-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hawkeye116477/download-multiple-artifacts-action@v2
with:
names: |
E_KAD_01
E_KAD_02
E_KAD_03
E_KAD_04
E_KAD_05
path: expired-d
- run: |
ls -l ./expired-d