Skip to content

Commit fc608b9

Browse files
committed
Remove matrix workflow and add test workflow with jobs and steps (Test / Demo)
1 parent 6cb49a1 commit fc608b9

2 files changed

Lines changed: 30 additions & 40 deletions

File tree

.github/workflows/matrix.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Workflows, Jobs, and Steps
2+
3+
on:
4+
workflow_dispatch:
5+
jobs:
6+
job-1:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- run: echo "A job consists of"
10+
- run: echo "one or more steps"
11+
- run: echo "which run sequentially"
12+
- run: echo "within the same compute environment"
13+
job-2:
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- run: echo "Multiple jobs can run in parallel"
17+
job-3:
18+
runs-on: ubuntu-24.04
19+
needs:
20+
- job-1
21+
- job-2
22+
steps:
23+
- run: echo "They can also depend on one another..."
24+
job-4:
25+
runs-on: ubuntu-24.04
26+
needs:
27+
- job-2
28+
- job-3
29+
steps:
30+
- run: echo "...to form a directed acyclic graph (DAG)"

0 commit comments

Comments
 (0)