Skip to content

Commit

Permalink
Merge pull request #1505 from grumpycoders/simplify-cache
Browse files Browse the repository at this point in the history
Simplify MacOS cache
  • Loading branch information
nicolasnoble authored Dec 24, 2023
2 parents 476977c + 6fd8dd7 commit 16302dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ jobs:
- uses: n1hility/cancel-previous-runs@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update brew
run: brew update --preinstall
- name: Cache brew
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/Library/Caches/Homebrew
key: brew-${{ hashFiles('.github/scripts/install-brew-dependencies.sh') }}
restore-keys: brew-
- name: Update brew
run: brew update --preinstall
- name: Install dependencies
run: ./.github/scripts/install-brew-dependencies.sh
- name: Fetch submodules
Expand Down

0 comments on commit 16302dc

Please sign in to comment.