Skip to content

Commit

Permalink
Fixing a typo in the echo, typo in action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Soren Ptak committed Jul 20, 2023
1 parent ad862da commit 75df5ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
log-dir: demo_run_logs
timeout-seconds: 20
success-line: "Sleeping for 6 seconds"
success-exit-code: 0
success-exit-status: 0
retry-attempts: 2

- name: Test Executable Monitor API - No success metric
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
exe-path: test.out
log-dir: demo_run_logs
timeout-seconds: 20
success-exit-code: 0
success-exit-status: 0
retry-attempts: 2

- name: Test Executable Monitor Action No Retry Attempts
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.out
logDir/
demo_run_logs/
2 changes: 1 addition & 1 deletion executable-monitor/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
echo "inputs.success-exit-status:${{ inputs.success-exit-status }}\n"
echo "inputs.success-line:${{ inputs.success-line }}\n"
if [ "${{ inputs.success-exit-status }}" = "" ] && [ "${{ inputs.success-line }}" = "" ]; then
echo "::endgroup::""
echo "::endgroup::"
echo -e "\033[32;31mDid not supply an input of success-line or success-exit-status to search for\033[0m"
exit 1
elif [ "${{ inputs.success-exit-status }}" = "" ]; then
Expand Down

0 comments on commit 75df5ad

Please sign in to comment.