;ci: linux: reuse old caches once more to save rebuilding
This commit is contained in:
parent
4526938d39
commit
0cdbd3049b
24
.github/workflows/linux-nightly.yml
vendored
24
.github/workflows/linux-nightly.yml
vendored
@ -95,11 +95,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ~/.stack
|
path: ~/.stack
|
||||||
key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }}
|
key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }}
|
||||||
restore-keys: ${{ runner.os }}-stack-global
|
restore-keys: |
|
||||||
|
${{ runner.os }}-stack-global
|
||||||
- name: show stuff
|
${{ runner.os }}-stack
|
||||||
run: |
|
|
||||||
if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi
|
|
||||||
|
|
||||||
- name: Cache stack-installed programs in ~/.local/bin
|
- name: Cache stack-installed programs in ~/.local/bin
|
||||||
id: stack-programs
|
id: stack-programs
|
||||||
@ -107,11 +105,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ~/.local/bin
|
path: ~/.local/bin
|
||||||
key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }}
|
key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }}
|
||||||
restore-keys: ${{ runner.os }}-stack-programs
|
restore-keys: |
|
||||||
|
${{ runner.os }}-stack-programs
|
||||||
- name: show stuff
|
${{ runner.os }}-local-bin
|
||||||
run: |
|
|
||||||
if [[ -e ~/.local/bin ]]; then ls -lFRa ~/.local/bin; fi
|
|
||||||
|
|
||||||
# stack's local package dbs for the project and each package
|
# stack's local package dbs for the project and each package
|
||||||
- name: Cache .stack-work
|
- name: Cache .stack-work
|
||||||
@ -201,3 +197,11 @@ jobs:
|
|||||||
# --no-print-missing-docs is 600% quieter
|
# --no-print-missing-docs is 600% quieter
|
||||||
env:
|
env:
|
||||||
ARGS: ${{ matrix.plan.resolver }}
|
ARGS: ${{ matrix.plan.resolver }}
|
||||||
|
|
||||||
|
- name: show stuff
|
||||||
|
run: |
|
||||||
|
if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi
|
||||||
|
|
||||||
|
- name: show stuff
|
||||||
|
run: |
|
||||||
|
if [[ -e ~/.local/bin ]]; then ls -lFRa ~/.local/bin; fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user