File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ jobs:
23
23
last_day_cutoff=$(expr $(date -d "-$(date +%d) days month" +%d) - 6)
24
24
# Check if it's the second or last Thursday of the month
25
25
# second thursday of the month will always be between day 8 and 14 (inclusive)
26
- if [[ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ] ]; then
26
+ if [ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ]; then
27
27
echo "It's the second Thursday of the month"
28
28
echo "bool=true" >> "${GITHUB_OUTPUT}"
29
29
# last thursday of the month will always be within 6 days of the last day of the month
30
30
# $last_day_cutoff=(# days in this month - 6)
31
- elif [[ "$day_of_month" -ge "$last_day_cutoff" ] ]; then
31
+ elif [ "$day_of_month" -ge "$last_day_cutoff" ]; then
32
32
echo "It's the last Thursday of the month"
33
33
echo "bool=true" >> "${GITHUB_OUTPUT}"
34
34
else
You can’t perform that action at this time.
0 commit comments