-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly use homebrew cache in macos-13 workflow
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,12 @@ jobs: | |
packages: build-essential cmake postgresql-server-dev-14 libproj-dev libjson-c-dev libgsl-dev libgeos-dev | ||
version: 1.0 | ||
|
||
- name: Get dependencies from homebrew (cache) | ||
uses: tecolicom/actions-use-homebrew-tools@v1 | ||
if: runner.os == 'macOS' | ||
with: | ||
tools: cmake libpq proj json-c gsl geos | ||
|
||
- name: Update brew | ||
if: matrix.os == 'macos-13' | ||
# Necessary to avoid issue with macOS runners. See | ||
|
@@ -50,12 +56,6 @@ jobs: | |
brew reinstall [email protected] || brew link --overwrite [email protected] | ||
brew update | ||
- name: Get dependencies from homebrew (cache) | ||
uses: tecolicom/actions-use-homebrew-tools@v1 | ||
if: runner.os == 'macOS' | ||
with: | ||
tools: cmake libpq proj json-c gsl geos | ||
|
||
- name: Fetch MEOS sources | ||
env: | ||
BRANCH_NAME: ${{ github.base_ref || github.ref_name }} | ||
|