chore(github): Updated new release cron schedule

- Updated cron schedule to match better my timezone.
- Added check for 'Create release' step
This commit is contained in:
2023-05-30 11:50:00 +03:00
committed by GitHub
parent 3d917454a0
commit c953f902ca

View File

@@ -4,7 +4,7 @@ name: Release Daily State # Workflow name displayed on GitHub
on:
workflow_dispatch: # Trigger manually
schedule:
- cron: "59 23 * * *"
- cron: "30 20 * * *" # UTC is 2-3 hours behind Europe/Helsinki, my timezone
permissions:
contents: write
@@ -31,6 +31,7 @@ jobs:
config_file: .github/tag-changelog-config.js
- name: Create release
if: steps.daily-version.outputs.created
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}