Skip to content

Commit

Permalink
TEMP ci: run requirements cron job on odd week
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Feb 1, 2022
1 parent afa2fe3 commit f06b60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/requirements-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Determine if week number is even
run: |
WEEK_NUMBER=$(date +%U)
IS_EVEN_WEEK="$(($WEEK_NUMBER % 2 == 0))"
IS_EVEN_WEEK="$(($WEEK_NUMBER % 2 == 1))"
echo "This is week $WEEK_NUMBER. It even week: $IS_EVEN_WEEK"
echo ::set-output name=is-even-week::"$IS_EVEN_WEEK"
id: is-even-week
Expand Down

0 comments on commit f06b60c

Please sign in to comment.