diff options
author | Oneric <oneric@oneric.stub> | 2020-12-06 00:08:29 +0100 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2021-02-14 21:43:36 +0100 |
commit | e16317bb1fa6b550a33e0733958df3698aaa1cf6 (patch) | |
tree | df34bccec6267c440c236b2d9b5bac0714de0741 | |
parent | 4ff69570917bf810e958a3e25eef86c1889baa18 (diff) | |
download | libass-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.yml | 8 |
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 |