update #7528
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 17 * * *' | |
- cron: '0/30 4-22 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: tgju manual update | |
if: github.event_name == 'workflow_dispatch' | |
shell: pwsh | |
run: ./src/tgju/update-daily.ps1 | |
- name: tgju daily update | |
if: github.event.schedule == '30 17 * * *' | |
shell: pwsh | |
run: ./src/tgju/update-daily.ps1 | |
- name: tgju hourly update | |
if: github.event.schedule == '0/30 4-22 * * *' | |
shell: pwsh | |
run: ./src/tgju/update-hourly.ps1 | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_author: GitHub Actions <[email protected]> |