updated workflows

هذا الالتزام موجود في:
Chris Ayers
2022-06-29 12:18:08 -04:00
الأصل f5c4b90948
التزام 0dbb0ae627
4 ملفات معدلة مع 99 إضافات و3 حذوفات

عرض الملف

@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions
name: 04 Conditionals
name: 05 Conditionals
# Controls when the workflow will run
on:
@@ -20,7 +20,7 @@ env:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
hello:
# The type of runner that the job will run on
runs-on: ubuntu-latest
if: ${{ env.Greeting == 'Hello'}}
@@ -33,3 +33,17 @@ jobs:
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo "$Greeting, $Name!"
bye:
# The type of runner that the job will run on
runs-on: ubuntu-latest
if: ${{ env.Greeting == 'Goodbye'}}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo "$Greeting, $Name!"