From 75df5ada3cdee61252390684ff82e8c7673a33f3 Mon Sep 17 00:00:00 2001 From: Soren Ptak Date: Thu, 20 Jul 2023 14:44:49 -0700 Subject: [PATCH] Fixing a typo in the echo, typo in action.yml --- .github/workflows/test.yml | 4 ++-- .gitignore | 1 + executable-monitor/action.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e9dd0e4b..b9c5a3da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 diff --git a/.gitignore b/.gitignore index 6b2a67f3..08e6ed60 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.out logDir/ +demo_run_logs/ diff --git a/executable-monitor/action.yml b/executable-monitor/action.yml index 04bad0bc..84e2fb65 100644 --- a/executable-monitor/action.yml +++ b/executable-monitor/action.yml @@ -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