Skip to content

Commit

Permalink
Test cron
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Apr 2, 2024
1 parent 000a29e commit 4e1cce2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cronetest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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'

0 comments on commit 4e1cce2

Please sign in to comment.