diff --git a/.github/workflows/grid_client_nightly.yml b/.github/workflows/grid_client_nightly.yml index df1efe0406..91f2b40988 100644 --- a/.github/workflows/grid_client_nightly.yml +++ b/.github/workflows/grid_client_nightly.yml @@ -131,15 +131,11 @@ jobs: steps.kubernetesqsfs.outcome != 'success' || steps.kvstore.outcome != 'success' || steps.zdb.outcome != 'success' || - steps.deleteall.outcome != 'success' + steps.deleteall.outcome != 'success' run: exit 1 - - name: Get the day of the week - id: dayofweek - run: echo "DAY_OF_WEEK=$(date +%u)" >> $GITHUB_ENV - - name: Create GitHub Issue on Failure - if: needs.teststatus.result == 'failure' && env.DAY_OF_WEEK != '5' && env.DAY_OF_WEEK != '6' + if: failure() && '$(date +%u)' != '5' && '$(date +%u)' != '6' uses: dacbd/create-issue-action@main with: token: ${{ github.token }}