Some checks failed
Reload Act Runner Stack to clear cache for workflows / reload-secondary (push) Blocked by required conditions
Reload Act Runner Stack to clear cache for workflows / diff (push) Successful in 1m26s
Reload Act Runner Stack to clear cache for workflows / reload-primary (push) Successful in 58s
Reload Act Runner Stack to clear cache for workflows / pull-cache-primary (push) Has been cancelled
Reload Act Runner Stack to clear cache for workflows / pull-cache-secondary (push) Has been cancelled
22 lines
709 B
YAML
22 lines
709 B
YAML
name: Pull Actions Cache
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
runs_on_label:
|
|
description: The runner label to execute this workflow on.
|
|
required: false
|
|
type: string
|
|
default: ubuntu-22.04
|
|
|
|
jobs:
|
|
# This job does literally nothing but force the designated runner
|
|
# to clone/pull the chromart-gitea-actions repository into its worker cache.
|
|
# This is needed after a runner container is recreated or its cache is wiped.
|
|
pull-cache:
|
|
runs-on: ${{ inputs.runs_on_label }}
|
|
steps:
|
|
- name: Force actions clone
|
|
uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main
|
|
with:
|
|
files: 'nonexistent-file-to-force-cache-pull'
|