Skip to content

Commit 7716d9d

Browse files
try again
1 parent 0e38f27 commit 7716d9d

1 file changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/jobs.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,15 @@ on:
66
workflow_dispatch: # Allow manual triggering
77

88
jobs:
9-
job1:
9+
job2:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: "Job 1 Step"
12+
- name: StepA"
1313
run: |
14-
echo "Hello from Job 1"
15-
echo "status=success" >> $GITHUB_OUTPUT
16-
17-
job2:
14+
echo "World"
15+
job1:
1816
runs-on: ubuntu-latest
19-
needs: job1
2017
steps:
21-
- name: "Job 2 Step"
22-
run: echo "World from Job 2"
23-
24-
- name: "Show Job 1 Output"
25-
if: ${{ needs.job1.result == 'success' }}
26-
run: echo "Job 1 completed successfully!"
27-
28-
- name: "Continue with Job 2"
29-
run: |
30-
echo "Performing Job 2 tasks..."
31-
echo "All tasks completed successfully!"
18+
- name: StepB
19+
run:
20+
echo "Hello"

0 commit comments

Comments
 (0)