diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8c9a038..753d304 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -3,9 +3,9 @@ name: macOS on: push: branches: - - dev - brew - + pull_request: + branches: [ "master" ] workflow_dispatch: jobs: diff --git a/install-forefire-osx.sh b/install-forefire-osx.sh index 651dbc5..06db6dd 100644 --- a/install-forefire-osx.sh +++ b/install-forefire-osx.sh @@ -12,9 +12,9 @@ if ! xcode-select -p > /dev/null 2>&1; then fi # Install dependencies via Homebrew. -brew install cmake -brew install netcdf -brew install netcdf-cxx +brew reinstall cmake +brew reinstall netcdf +brew reinstall netcdf-cxx # Set NETCDF_HOME to the prefix for the NetCDF C library. export NETCDF_HOME=$(brew --prefix netcdf)