Updated actions/github-script and added redundancy

This commit is contained in:
João Vitor Polverari 2024-04-03 21:42:06 -03:00 committed by GitHub
parent e7a51c4e83
commit 59786d7f96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,8 +4,10 @@ name: Clear cache
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Midnight every day
- cron: '0 12 * * *' # Noon every day
- cron: '0 0 * * *' # 00:00 every day
- cron: '5 0 * * *' # 00:05 every day
- cron: '0 12 * * *' # 12:00 every day
- cron: '5 12 * * *' # 12:05 every day
permissions:
actions: write
@ -15,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clear cache
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
with:
script: |
console.log("About to clear")