Skip to content

Commit b3f3ca4

Browse files
Own workflow design to undertand the operations better
1 parent b662930 commit b3f3ca4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/03-core-features--03-workflows-jobs-steps.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
- run: echo "one or more steps"
1111
- run: echo "which run sequentially"
1212
- run: echo "within the same compute environment"
13+
- run: "And now I am adding a few lines of my own here to know and get familiarized with the operations"
1314
job-2:
1415
runs-on: ubuntu-24.04
1516
steps:
@@ -19,6 +20,7 @@ jobs:
1920
needs:
2021
- job-1
2122
- job-2
23+
- job-5 # a new job to explore the realtion and working of the jobs in a workflow
2224
steps:
2325
- run: echo "They can also depend on one another..."
2426
job-4:
@@ -28,3 +30,16 @@ jobs:
2830
- job-3
2931
steps:
3032
- run: echo "...to form a directed acyclic graph (DAG)"
33+
34+
# By Deepak
35+
job-5:
36+
runs-on: ubuntu-24.04
37+
steps:
38+
- run: echo "This is a new job that I have added to this workflow which is independent of the other jobs and can run in parallel with them."
39+
- run: echo "This is a second step in the new job of this workflow"
40+
41+
# By Deepak
42+
job-6:
43+
runs-on: ubuntu-24.04
44+
steps:
45+
- run: echo "This job is independent of all and runs in parallel with all the other jobs in this workflow"

0 commit comments

Comments
 (0)