From 1b5123a5b5c295abde74ac82b82535b72acd72bf Mon Sep 17 00:00:00 2001 From: David LeBauer Date: Thu, 9 Jan 2025 15:46:31 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25efadf..de33391 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,10 +45,13 @@ jobs: # check for correct output of Niwot run - name: Check if niwot.out is generated - if: ${{ !files.exists('Sites/Niwot/niwot.out') }} + shell: bash run: | - echo "::error title={No Output}::Test run for Niwot site failed to produce output" - exit 1 + if: ${{ !files.exists('Sites/Niwot/niwot.out') }} + echo "::error title={No Output}::Test run for Niwot site failed to produce output" + exit 1 + fi + # Check if niwot.out has changed - name: Check whether niwot.out has changed shell: bash