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:
2323 last_day_cutoff=$(expr $(date -d "-$(date +%d) days month" +%d) - 6)
2424 # Check if it's the second or last Thursday of the month
2525 # 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
2727 echo "It's the second Thursday of the month"
2828 echo "bool=true" >> "${GITHUB_OUTPUT}"
2929 # last thursday of the month will always be within 6 days of the last day of the month
3030 # $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
3232 echo "It's the last Thursday of the month"
3333 echo "bool=true" >> "${GITHUB_OUTPUT}"
3434 else
You can’t perform that action at this time.
0 commit comments