mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;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:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }}
|
||||
restore-keys: ${{ runner.os }}-stack-global
|
||||
|
||||
- name: show stuff
|
||||
run: |
|
||||
if [[ -e ~/.stack ]]; then ls -lFRa ~/.stack; fi
|
||||
restore-keys: |
|
||||
${{ runner.os }}-stack-global
|
||||
${{ runner.os }}-stack
|
||||
|
||||
- name: Cache stack-installed programs in ~/.local/bin
|
||||
id: stack-programs
|
||||
@ -107,11 +105,9 @@ jobs:
|
||||
with:
|
||||
path: ~/.local/bin
|
||||
key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }}
|
||||
restore-keys: ${{ runner.os }}-stack-programs
|
||||
|
||||
- name: show stuff
|
||||
run: |
|
||||
if [[ -e ~/.local/bin ]]; then ls -lFRa ~/.local/bin; fi
|
||||
restore-keys: |
|
||||
${{ runner.os }}-stack-programs
|
||||
${{ runner.os }}-local-bin
|
||||
|
||||
# stack's local package dbs for the project and each package
|
||||
- name: Cache .stack-work
|
||||
@ -201,3 +197,11 @@ jobs:
|
||||
# --no-print-missing-docs is 600% quieter
|
||||
env:
|
||||
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