Skip to content

Commit aa63c23

Browse files
committed
fix job name
1 parent 3243111 commit aa63c23

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/04-advanced-features--02-artifacts.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ on:
33
workflow_dispatch:
44

55
jobs:
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
@@ -24,7 +21,7 @@ jobs:
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

0 commit comments

Comments
 (0)