File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 5858 - name : Harden Runner
5959 uses : step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
6060 with :
61- disable-sudo : true
61+ disable-sudo : false
6262 egress-policy : block
6363 allowed-endpoints : >
6464 azure.archive.ubuntu.com:80
@@ -73,15 +73,17 @@ jobs:
7373 with :
7474 persist-credentials : false
7575
76- - name : Install NetCDF (Linux )
76+ - name : Install NetCDF (Ubuntu/apt )
7777 if : matrix.os == 'ubuntu-latest'
7878 run : |
7979 sudo apt-get update
8080 sudo apt-get install -y libnetcdf-dev
81- - name : Install NetCDF (macOS)
82- if : matrix.os == 'macos-latest'
83- run : |
84- brew install netcdf
81+ - name : Install NetCDF4 (macOS/homebrew)
82+ if : (matrix.os == 'macos-latest') && (!matrix.conda)
83+ uses : tecolicom/actions-use-homebrew-tools@b9c066b79607fa3d71e0be05d7003bb75fd9ff34 # v1.3.0
84+ with :
85+ tools : netcdf
86+ cache : " yes"
8587
8688 - name : Fetch NetCDF CMake script
8789 run : |
You can’t perform that action at this time.
0 commit comments