We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a6365 commit 8f428a6Copy full SHA for 8f428a6
.github/workflows/schedule-clear-cache.yml
@@ -4,10 +4,24 @@ on:
4
schedule:
5
# on Sundays
6
- cron: "0 0 * * 0"
7
+ workflow_dispatch:
8
+ inputs:
9
+ pattern:
10
+ description: 'patter for cleaning cache'
11
+ default: "pip|conda"
12
+ required: false
13
+ type: string
14
15
jobs:
- clear-cache:
- if: github.repository_owner == 'Lightning-AI'
- uses: Lightning-AI/utilities/.github/workflows/clear-cache.yml@main
16
+
17
+ cron-clear:
18
+ if: github.event_name == 'schedule'
19
+ uses: Lightning-AI/utilities/.github/workflows/[email protected]
20
with:
21
pattern: 'latest|docs'
22
23
+ direct-clear:
24
+ if: github.event_name == 'workflow_dispatch'
25
26
+ with:
27
+ pattern: ${{ inputs.pattern }}
0 commit comments