Skip to content

Commit

Permalink
fixed check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jegorpopow committed Dec 15, 2023
1 parent 15aba52 commit eef5ce7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eef5ce7

Please sign in to comment.