Add job for viewing cache content
This commit is contained in:
parent
811360786b
commit
a5f8e4d51f
1 changed files with 21 additions and 0 deletions
21
.github/workflows/view-cache.yaml
vendored
Normal file
21
.github/workflows/view-cache.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch: ~
|
||||||
|
|
||||||
|
name: View cache
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
view-cache:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: data/wiki-meta-cache.yaml
|
||||||
|
key: wiki-meta-cache-v2-${{ github.run_id }}
|
||||||
|
restore-keys: |
|
||||||
|
wiki-meta-cache-v2
|
||||||
|
- name: View cache content
|
||||||
|
run: |
|
||||||
|
cat data/wiki-meta-cache.yaml
|
Reference in a new issue