From 7073bc1c6f0d5b7c419d9ca2485970cd7006cb28 Mon Sep 17 00:00:00 2001 From: Artem Kislovskiy Date: Sat, 13 Apr 2024 22:28:20 +0200 Subject: [PATCH] add even --- .github/workflows/2024_PyConDE_random_generator.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/2024_PyConDE_random_generator.yaml b/.github/workflows/2024_PyConDE_random_generator.yaml index 9ef669a..fe446c1 100644 --- a/.github/workflows/2024_PyConDE_random_generator.yaml +++ b/.github/workflows/2024_PyConDE_random_generator.yaml @@ -25,3 +25,10 @@ jobs: if: ${{ ! needs.random-number-generator.outputs.is-even }} steps: - run: echo "The number is ${{ needs.random-number-generator.outputs.number }} is odd" + + consumer-of-generator-even: + needs: random-number-generator + runs-on: ubuntu-latest + if: ${{ needs.random-number-generator.outputs.is-even }} + steps: + - run: echo "The number is ${{ needs.random-number-generator.outputs.number }} is even"