Skip to content

Commit

Permalink
ci: move depends sources into distinct cache to avoid duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Aug 13, 2024
1 parent 8f7dd9c commit b60ebab
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/guix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,22 @@ jobs:
path: dash
fetch-depth: 0

- name: Cache Depends Sources
id: guix-cache-restore
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/dash/depends/sources
key: ${{ runner.os }}-guix-depends-sources

- name: Cache Guix and depends
id: guix-cache-restore
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/.cache
${{ github.workspace }}/dash/depends/built
${{ github.workspace }}/dash/depends/sources
${{ github.workspace }}/dash/depends/work
/gnu/store
${{ github.workspace }}/dash/depends/${{ matrix.build_target }}
key: ${{ runner.os }}-guix-${{ matrix.build_target }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-guix-${{ matrix.build_target }}
Expand Down

0 comments on commit b60ebab

Please sign in to comment.