Skip to content

Commit

Permalink
Fix bash if
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0sh1dk committed Dec 17, 2023
1 parent de867da commit 17b10c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 17b10c9

Please sign in to comment.