diff --git a/.github/workflows/2024_PyConDE_random_generator.yaml b/.github/workflows/2024_PyConDE_random_generator.yaml index ca92fe5..023a8ff 100644 --- a/.github/workflows/2024_PyConDE_random_generator.yaml +++ b/.github/workflows/2024_PyConDE_random_generator.yaml @@ -22,13 +22,13 @@ jobs: consumer-of-generator-odd: needs: random-number-generator runs-on: ubuntu-latest - if: ${{ !needs.random-number-generator.outputs.is-even }} + if: ${{ needs.random-number-generator.outputs.is-even == 0 }} 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 }} + if: ${{ needs.random-number-generator.outputs.is-even == 1 }} steps: - run: echo "The number is ${{ needs.random-number-generator.outputs.number }} is even"