Skip to content

Commit 50dcaec

Browse files
committed
feat: Cache Homebrew files
1 parent fed5a29 commit 50dcaec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ jobs:
104104
run: sudo apt-get --assume-yes install libgdal-dev
105105
if: startsWith(runner.os, 'Linux')
106106

107+
- name: Cache Homebrew
108+
uses: actions/cache@v3.2.3
109+
with:
110+
path: ~/Library/Caches/Homebrew
111+
key: ${{ runner.os }}-homebrew-${{ secrets.CACHE_SEED }}
112+
if: startsWith(runner.os, 'macOS')
113+
107114
- name: Install GDAL on MacOS
108115
run: brew install gdal
109116
if: startsWith(runner.os, 'macOS')

0 commit comments

Comments
 (0)