diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 38ad25b..0b46c86 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,7 +35,7 @@ jobs: image: nginx:invalid-tag - name: Check output run: | - if [ ${{ steps.gha-docker-image-exists.outcome == 'failure' }} ]; then + if ${{ steps.gha-docker-image-exists.outcome == 'failure' }}; then exit 0 else exit 1 @@ -65,7 +65,7 @@ jobs: - name: Check output run: | - if [ ${{ steps.gha-docker-image-exists.outcome == 'success' }} ]; then + if ${{ steps.gha-docker-image-exists.outcome == 'success' }}; then exit 0 else exit 1 @@ -95,7 +95,7 @@ jobs: - name: Check output run: | - if [ ${{ steps.gha-docker-image-exists.outcome == 'failure' }} ]; then + if ${{ steps.gha-docker-image-exists.outcome == 'failure' }}; then exit 0 else exit 1