ci: Reduce stack cache size
This removes the GHC install from stack caches to reduce size.
This commit is contained in:
committed by
Wolfgang Walther
parent
279febe26b
commit
d08e5959a0
@@ -90,20 +90,28 @@ jobs:
|
|||||||
- name: Linux
|
- name: Linux
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
cache: |
|
cache: |
|
||||||
~/.stack
|
~/.stack/pantry
|
||||||
|
~/.stack/snapshots
|
||||||
|
~/.stack/stack.sqlite3
|
||||||
# no artifact for Linux, because we use the static build
|
# no artifact for Linux, because we use the static build
|
||||||
|
|
||||||
- name: MacOS
|
- name: MacOS
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
cache: |
|
cache: |
|
||||||
~/.stack
|
~/.stack/pantry
|
||||||
|
~/.stack/snapshots
|
||||||
|
~/.stack/stack.sqlite3
|
||||||
artifact: postgrest-macos-x64
|
artifact: postgrest-macos-x64
|
||||||
|
|
||||||
- name: Windows
|
- name: Windows
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
cache: |
|
cache: |
|
||||||
~\AppData\Roaming\stack
|
~\AppData\Roaming\stack\pantry
|
||||||
~\AppData\Local\Programs\stack
|
~\AppData\Local\Programs\stack\pantry
|
||||||
|
~\AppData\Roaming\stack\snapshots
|
||||||
|
~\AppData\Local\Programs\stack\snapshots
|
||||||
|
~\AppData\Roaming\stack\stack.sqlite3
|
||||||
|
~\AppData\Local\Programs\stack\stack.sqlite3
|
||||||
deps: Add-Content $env:GITHUB_PATH $env:PGBIN
|
deps: Add-Content $env:GITHUB_PATH $env:PGBIN
|
||||||
artifact: postgrest-windows-x64
|
artifact: postgrest-windows-x64
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user