From 3444fc0815c9beadda654c78a37090063c1e9db0 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sun, 29 Mar 2020 03:24:10 +0200 Subject: [PATCH] Update hello.yml --- .github/workflows/hello.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hello.yml b/.github/workflows/hello.yml index 9d8fe50..3981d87 100644 --- a/.github/workflows/hello.yml +++ b/.github/workflows/hello.yml @@ -17,6 +17,7 @@ jobs: include: - hello: AAA bye: BBB + wait: true - hello: CCC key: DDD - hello: EEE @@ -25,7 +26,11 @@ jobs: - uses: actions/checkout@v2 - name: Run a one-line script - run: | - echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}} - sleep 20 - echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}} + run: echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}} + + - name: Wait + if: matrix.wait + run: sleep 20 + + - name: Run again + run: echo HELLO ${{matrix.hello}} and BYE ${{matrix.bye}}