Skip to content

Commit

Permalink
Fix test pass/failure check in Github Actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
lmakarov committed Apr 21, 2021
1 parent 03935ca commit a07521c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ jobs:
SECRET_PLATFORMSH_CLI_TOKEN: ${{ secrets.SECRET_PLATFORMSH_CLI_TOKEN }}
SECRET_TERMINUS_TOKEN: ${{ secrets.SECRET_TERMINUS_TOKEN }}
# Run tests and set output status (used by downstream jobs)
run: make test && echo "::set-output name=status::pass" || echo "::set-output name=status::fail"
run: |
make test
[[ $? == 0 ]] && "::set-output name=status::pass" || echo "::set-output name=status::fail"
-
# Print image info
name: Docker image info
Expand Down

0 comments on commit a07521c

Please sign in to comment.