From 4ea405d5477aa662a354b68eae95e09c30a6a4bf Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Wed, 26 Jun 2024 13:18:11 -0500 Subject: [PATCH] Update 02-basic-multiple-jobs-needs.yml --- .github/workflows/02-basic-multiple-jobs-needs.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/02-basic-multiple-jobs-needs.yml b/.github/workflows/02-basic-multiple-jobs-needs.yml index 2a199b1..2990fff 100644 --- a/.github/workflows/02-basic-multiple-jobs-needs.yml +++ b/.github/workflows/02-basic-multiple-jobs-needs.yml @@ -24,10 +24,18 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script run: echo Hello from job1 + job1a: + # The type of runner that the job will run on + runs-on: ubuntu-latest + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello from job1 job2: # The type of runner that the job will run on runs-on: ubuntu-latest - needs: [job1] + needs: [job1, job1a] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell