Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 20, 2024
1 parent 57ea0f9 commit 6e9016f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,26 @@ jobs:
cd build-share
make VERBOSE=1
- name: Cache PFUNIT
id: cache-pfunit
uses: actions/cache@v4
with:
path: pfunit
key: ${{ runner.os }}-${{ env.PFUNIT_VERSION }}
- name: Checkout PFUNIT
if: steps.cache-pfunit.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
path: pfunit
ref: ${{ env.PFUNIT_VERSION }}
repository: Goddard-Fortran-Ecosystem/pFUnit
- name: build PFUNIT
if: steps.cache-pfunit.outputs.cache-hit != 'true'
run: |
pushd pfunit
cmake -DSKIP_MPI=YES -DSKIP_OPENMP=YES -B build
cmake --build build
popd
- name: Cache PFUNIT
id: cache-pfunit
uses: actions/cache@v4
with:
path: pfunit
key: ${{ runner.os }}-${{ env.PFUNIT_VERSION }}
- name: Checkout cime
uses: actions/checkout@v4
Expand All @@ -107,7 +109,7 @@ jobs:
uses: actions/checkout@v4
with:
path: ccs_config
ref: master
ref: main
repository: ESMCI/ccs_config_cesm

- name: run unit testing
Expand Down

0 comments on commit 6e9016f

Please sign in to comment.