mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
Improve caching for Github Pages.
This commit is contained in:
parent
3391fd77b1
commit
8aa156796a
1 changed files with 8 additions and 2 deletions
10
.github/workflows/gh-pages.yml
vendored
10
.github/workflows/gh-pages.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
with:
|
||||
elm-version: 0.19.1
|
||||
|
||||
- name: Cache
|
||||
- name: Cache Cabal
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-cabal
|
||||
|
|
@ -30,12 +30,18 @@ jobs:
|
|||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Cache
|
||||
- name: Cache StackRoot
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal') }}-stack
|
||||
|
||||
- name: Cache Stack
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.stack-work
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal') }}-stack-work
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cabal v2-update
|
||||
|
|
|
|||
Loading…
Reference in a new issue