menu_book Course Curriculum (GitHub Actions) expand_more
Workflow Basics
Expressions & Data
Build Strategies
Artifacts & Cache
Permissions & Security
Reusable Automation
Deployments
Cache key fallback
Learn Cache key fallback in GitHub Actions with a dedicated explanation, a topic-specific example, edge guidance, and a mastery check.
12 min read
•
Intermediate
github-actions-028.yml
yaml
name: lesson
on:
workflow_dispatch:
jobs:
deps:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
pip-${{ runner.os }}-
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content