From 1b9630148fc824afa809ac8f632dad12f3c732c3 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 5 Jul 2023 12:07:23 +1200 Subject: [PATCH] FIX Use day of year instead of day of week --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index f3e3337..07e8bad 100644 --- a/action.yml +++ b/action.yml @@ -11,8 +11,8 @@ runs: env: GITHUB_REPOSITORY: ${{ github.repository }} run: | - # repository that has a twice-weekly schedule run on consequtive days - use day of week - date_part=$(date +%u) + # repository that has a twice-weekly schedule run on consecutive days - use day of year + date_part=$(date +%-j) type="" if [[ $GITHUB_REPOSITORY == "silverstripe/installer" ]] || \ [[ $GITHUB_REPOSITORY == "silverstripe/recipe-kitchen-sink" ]]