Winge19/cache: Cache dependencies and build outputs in GitHub Actions

PHOTO EMBED

Thu Oct 06 2022 14:34:42 GMT+0000 (Coordinated Universal Time)

Saved by @frikke

steps:
  - uses: actions/checkout@v3

  - uses: actions/cache@v3
    id: cache
    with:
      path: path/to/dependencies
      key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

  - name: Install Dependencies
    if: steps.cache.outputs.cache-hit != 'true'
    run: /install.sh
content_copyCOPY

https://github.com/Winge19/cache