Skip to content

Clear cache weekly

Clear cache weekly #2

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

View workflow run for this annotation

GitHub Actions / .github/workflows/call-clear-cache.yml

Invalid workflow file

error parsing called workflow ".github/workflows/call-clear-cache.yml" -> "Lightning-AI/utilities/.github/workflows/[email protected]" : failed to fetch workflow: workflow was not found.
with:
pattern: "latest|docs"
direct-clear:
if: github.event_name == 'workflow_dispatch'
uses: Lightning-AI/utilities/.github/workflows/[email protected]
with:
pattern: ${{ inputs.pattern }}