Skip to content

Commit

Permalink
attempting to cache pnetcdf build in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 7, 2020
1 parent 3482946 commit 5e51323
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ jobs:
run: |
sudo apt-get install netcdf-bin libnetcdf-dev doxygen graphviz wget gfortran libjpeg-dev libz-dev openmpi-bin libopenmpi-dev
- name: Cache pnetcdf
id: cache-pnetcdf
uses: actions/cache@v2
with:
path: pnetcdf
key: ${{ runner.os }}-pnetcdf-1.11.0
- name: pnetcdf build
if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
run: |
wget https://parallel-netcdf.github.io/Release/pnetcdf-1.11.0.tar.gz
tar -xzvf pnetcdf-1.11.0.tar.gz
Expand Down

0 comments on commit 5e51323

Please sign in to comment.