Clear cache weekly #2
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: Clear cache weekly | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pattern: | ||
description: "pattern for cleaning cache" | ||
default: "pip-|conda" | ||
required: false | ||
type: string | ||
jobs: | ||
cron-clear: | ||
if: github.event_name == 'schedule' | ||
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
Check failure on line 15 in .github/workflows/call-clear-cache.yml GitHub Actions / .github/workflows/call-clear-cache.ymlInvalid workflow file
|
||
with: | ||
pattern: "latest|docs" | ||
direct-clear: | ||
if: github.event_name == 'workflow_dispatch' | ||
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
with: | ||
pattern: ${{ inputs.pattern }} |