mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
ci: cache depends sources in a seperate step
This commit is contained in:
parent
0587790c01
commit
354d6a9aab
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -91,6 +91,16 @@ jobs:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
|
||||
- name: Cache depends sources
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
depends/sources
|
||||
# We don't care about no specific key as depends system will handle that for us
|
||||
key: depends-sources-${{ hashFiles('depends/packages/*') }}
|
||||
restore-keys: |
|
||||
depends-sources-
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
9
.github/workflows/guix-build.yml
vendored
9
.github/workflows/guix-build.yml
vendored
@ -79,6 +79,14 @@ jobs:
|
||||
path: dash
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache depends sources
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: dash/depends/sources
|
||||
key: depends-sources-${{ hashFiles('dash/depends/packages/*') }}
|
||||
restore-keys: |
|
||||
depends-sources-
|
||||
|
||||
- name: Cache Guix and depends
|
||||
id: guix-cache-restore
|
||||
uses: actions/cache@v3
|
||||
@ -86,7 +94,6 @@ jobs:
|
||||
path: |
|
||||
${{ github.workspace }}/.cache
|
||||
${{ github.workspace }}/dash/depends/built
|
||||
${{ github.workspace }}/dash/depends/sources
|
||||
${{ github.workspace }}/dash/depends/work
|
||||
/gnu/store
|
||||
key: ${{ runner.os }}-guix-${{ matrix.build_target }}-${{ github.sha }}
|
||||
|
Loading…
Reference in New Issue
Block a user