Skip to content

Commit 64fc61b

Browse files
committed
artifact layering
1 parent 7e81908 commit 64fc61b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/artifact-layers.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
job1:
77
runs-on: ubuntu-latest
88
steps:
9-
- run: mkdir stuff
10-
- run: echo "Artifact from run job1" >> stuff/output.txt
11-
- run: echo "Artifact from run job1" >> stuff/output1.txt
9+
- run: mkdir -p artifacts/docs/site/
10+
- run: echo "Artifact from run job1" >> artifacts/docs/site/output.txt
11+
- run: echo "Artifact from run job1" >> artifacts/docs/site/output1.txt
1212
- uses: actions/upload-artifact@v4
1313
with:
1414
name: Artifact1
1515
if-no-files-found: error
16-
path: './**'
16+
path: artifacts/docs/site/
1717
job2:
1818
runs-on: ubuntu-latest
1919
steps:
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
name: Artifact2
2525
if-no-files-found: error
26-
path: './**'
26+
path: '*'
2727
merge:
2828
runs-on: ubuntu-latest
2929
needs: [job1, job2]

0 commit comments

Comments
 (0)