summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2020-12-06 00:08:29 +0100
committerOneric <oneric@oneric.stub>2021-02-14 21:43:36 +0100
commite16317bb1fa6b550a33e0733958df3698aaa1cf6 (patch)
treedf34bccec6267c440c236b2d9b5bac0714de0741
parent4ff69570917bf810e958a3e25eef86c1889baa18 (diff)
downloadlibass-e16317bb1fa6b550a33e0733958df3698aaa1cf6.tar.bz2
libass-e16317bb1fa6b550a33e0733958df3698aaa1cf6.tar.xz
ci: cache Homebrew files on MacOS
This commit is adapted from mpv and should speed up MacOS builds. https://github.com/mpv-player/mpv/commit/3586ef77f31c9e0d396b0356a4054d57cbd146cb
-rw-r--r--.github/workflows/ghci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ghci.yml b/.github/workflows/ghci.yml
index 138be5a..bd9b0fb 100644
--- a/.github/workflows/ghci.yml
+++ b/.github/workflows/ghci.yml
@@ -25,6 +25,14 @@ jobs:
- name: checkout code
uses: actions/checkout@v2
+ - name: retrieve caches
+ uses: actions/cache@v2
+ with:
+ path: |
+ $HOME/Library/Caches/Homebrew
+ /usr/local/Homebrew
+ key: ${{ runner.os }}-${{ matrix.os }}-build
+
- name: install deps
run: |
if echo "${{ matrix.os }}" | grep -qE '^macos-' ; then