We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e38f27 commit 7716d9dCopy full SHA for 7716d9d
1 file changed
.github/workflows/jobs.yml
@@ -6,26 +6,15 @@ on:
6
workflow_dispatch: # Allow manual triggering
7
8
jobs:
9
- job1:
+ job2:
10
runs-on: ubuntu-latest
11
steps:
12
- - name: "Job 1 Step"
+ - name: StepA"
13
run: |
14
- echo "Hello from Job 1"
15
- echo "status=success" >> $GITHUB_OUTPUT
16
-
17
- job2:
+ echo "World"
+ job1:
18
19
- needs: job1
20
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!"
+ - name: StepB
+ run:
+ echo "Hello"
0 commit comments