From 4e1cce2332ac7bea6d8a7debcf2c02a52c7ddd6b Mon Sep 17 00:00:00 2001 From: ivvist Date: Tue, 2 Apr 2024 09:29:35 +0200 Subject: [PATCH] Test cron --- .github/workflows/cronetest.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cronetest.yml b/.github/workflows/cronetest.yml index 5026c28..cd0af52 100644 --- a/.github/workflows/cronetest.yml +++ b/.github/workflows/cronetest.yml @@ -2,7 +2,7 @@ name: Release every 2 weeks on Monday at 5 at the morning on: schedule: - - cron: '17 8 * * *' + - cron: '31 7 * * *' jobs: @@ -27,7 +27,12 @@ jobs: echo "RUN_THIS_WEEK=false" >> $GITHUB_ENV fi - - name: Make release + - name: Worked if: env.RUN_THIS_WEEK == 'true' run: | echo 'Worked' + + - name: Not worked + if: env.RUN_THIS_WEEK == 'false' + run: | + echo 'Not Worked'