From 0cd10c209dfa3b0afad92285d361c305087b3297 Mon Sep 17 00:00:00 2001 From: Olga Bachishe Date: Sat, 16 Dec 2023 15:50:39 +0300 Subject: [PATCH] fix ci --- .github/workflows/check.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0d55da24f..0a9c8b47d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -41,15 +41,15 @@ jobs: else echo ${branch:1:2} > assignment_number.txt fi - - name: Check Deadline - run: | - deadline=2023-12-16T23:59 - if [[ $(date +'%Y-%m-%dT%H:%M') > $deadline ]]; - then - echo "FIASCO: The deadline has expired" - echo $(date +'%Y-%m-%dT%H:%M') - exit 1 - fi + - name: Check Deadline + run: | + deadline=2023-12-16T23:59 + if [[ $(date +'%Y-%m-%dT%H:%M') > $deadline ]]; + then + echo "FIASCO: The deadline has expired" + echo $(date +'%Y-%m-%dT%H:%M') + exit 1 + fi - uses: actions/upload-artifact@v2 with: name: share_info