Skip to content

Kubler Cache Inspect #9

Kubler Cache Inspect

Kubler Cache Inspect #9

Workflow file for this run

name: Kubler Cache Inspect
on:
workflow_dispatch:
jobs:
kubler-cache-inspect:
runs-on: ubuntu-latest
steps:
# Cache Versions are based off key and path, so differnt path's can use same key
#
# Caches are immutable, so need unique key to create a new cache
# `restore-keys` provides a list to restore a cache when key doesn't match
# If there's no exact match, the most recent cache that partially matches will be used
#
- name: Cache Kubler Downloads
uses: actions/cache@v3
with:
path: ~/.kubler/downloads/
key: kubler-${{ github.sha }}
restore-keys: |
kubler-
- name: Cache Kubler Gentoo Distfiles
uses: actions/cache@v3
with:
path: ~/.kubler/distfiles/
key: kubler-${{ github.sha }}
restore-keys: |
kubler-
- name: Cache Kubler Gentoo Packages
uses: actions/cache@v3
with:
path: ~/.kubler/packages/
key: kubler-${{ github.sha }}
restore-keys: |
kubler-
- name: Inspect Kubler Caches
run: |
tree -a -C ~/.kubler