File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 workflow_dispatch :
44
55jobs :
6- # ──────────────────────────────────────────────
7- # 1) Artifact round-trip
8- # ──────────────────────────────────────────────
96 artifact-producer :
107 name : Produce artifact
118 runs-on : ubuntu-24.04
129 steps :
1310 - name : Create artifact file
1411 run : |
15- echo "This will be stored as an artifact!" > artifact.txt
16- echo "Generated by job-artifact-producer on $(date)" >> artifact.txt
12+ echo "This is stored as an artifact!" > artifact.txt
13+ echo "Generated on $(date)" >> artifact.txt
1714
1815 - name : Upload artifact
1916 uses : actions/upload-artifact@v4
2421 artifact-consumer :
2522 name : Consume artifact
2623 runs-on : ubuntu-24.04
27- needs : job- artifact-producer
24+ needs : artifact-producer
2825 steps :
2926 - name : Download artifact
3027 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments