Update 02-basic-multiple-jobs-needs.yml

هذا الالتزام موجود في:
Chris Ayers
2024-06-26 13:18:11 -05:00
ملتزم من قبل GitHub
الأصل 49da633a5c
التزام 4ea405d547

عرض الملف

@@ -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