mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-01-16 16:42:11 +01:00
Updated actions/github-script and added redundancy
This commit is contained in:
parent
e7a51c4e83
commit
59786d7f96
8
.github/workflows/clear-cache.yml
vendored
8
.github/workflows/clear-cache.yml
vendored
@ -4,8 +4,10 @@ name: Clear cache
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *' # Midnight every day
|
- cron: '0 0 * * *' # 00:00 every day
|
||||||
- cron: '0 12 * * *' # Noon every day
|
- cron: '5 0 * * *' # 00:05 every day
|
||||||
|
- cron: '0 12 * * *' # 12:00 every day
|
||||||
|
- cron: '5 12 * * *' # 12:05 every day
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
@ -15,7 +17,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clear cache
|
- name: Clear cache
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7.0.1
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
console.log("About to clear")
|
console.log("About to clear")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user