From f092c4c76e7c629aeff31738acfd7e375612338f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Wed, 20 Mar 2024 16:15:07 +0100 Subject: [PATCH] Move success check to if --- .github/workflows/update-submodules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 95f541a452..d24cfde2f6 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -8,7 +8,7 @@ jobs: update: runs-on: ubuntu-latest outputs: - success: ${{ steps.commit.outputs.outcome == "success" }} + success: steps.commit.outputs.outcome steps: - name: Checkout repository uses: actions/checkout@v3 @@ -32,5 +32,5 @@ jobs: deploy: needs: update - if: ${{ needs.update.outputs.success }} + if: ${{ needs.update.outputs.success == "success" }} uses: ./.github/workflows/deploy.yml