mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
CI: Change cache directories.
This commit is contained in:
parent
8aa156796a
commit
3956c046c3
1 changed files with 10 additions and 23 deletions
33
.github/workflows/gh-pages.yml
vendored
33
.github/workflows/gh-pages.yml
vendored
|
|
@ -13,34 +13,21 @@ jobs:
|
||||||
- uses: actions/setup-haskell@v1
|
- uses: actions/setup-haskell@v1
|
||||||
with:
|
with:
|
||||||
ghc-version: '8.8'
|
ghc-version: '8.8'
|
||||||
cabal-version: '3.0'
|
cabal-version: 'latest'
|
||||||
- uses: jorelali/setup-elm@v2
|
- uses: jorelali/setup-elm@v2
|
||||||
with:
|
with:
|
||||||
elm-version: 0.19.1
|
elm-version: 0.19.1
|
||||||
|
|
||||||
- name: Cache Cabal
|
- name: Cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v2
|
||||||
env:
|
|
||||||
cache-name: cache-cabal
|
|
||||||
with:
|
with:
|
||||||
path: ~/.cabal
|
path: |
|
||||||
key: ${{ runner.os }}-hpc-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
|
~/.cabal
|
||||||
restore-keys: |
|
~/.stack
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
~/.stack-work
|
||||||
${{ runner.os }}-build-
|
~/.dist-newstyle
|
||||||
${{ runner.os }}-
|
~/.ghc
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal') }}-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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue