diff --git a/.github/workflows/bundle_with_dakota.yml b/.github/workflows/bundle_with_dakota.yml index 86a41053..14a7069e 100644 --- a/.github/workflows/bundle_with_dakota.yml +++ b/.github/workflows/bundle_with_dakota.yml @@ -29,18 +29,25 @@ jobs: fetch-depth: 0 - uses: actions/cache@v3 - id: cache-package + id: cache-package-check with: key: carolina_dist_${{ matrix.os }}_python-${{ matrix.python-version }}_boost-${{ env.BOOST_VERSION }}_dakota-${{ env.DAKOTA_VERSION }} path: ./carolina_dist - name: Build Linux Wheel - if: steps.cache-package.outputs.cache-hit != 'true' + if: steps.cache-package-check.outputs.cache-hit != 'true' uses: docker://quay.io/pypa/manylinux2014_x86_64 with: entrypoint: /bin/bash args: '-c "sh dakota_manylinux_install_files/build_wheels_gha.sh"' + - uses: actions/cache/save@v3 + if: steps.cache-package.outputs.cache-hit != 'true' + id: cache-package-store + with: + key: carolina_dist_${{ matrix.os }}_python-${{ matrix.python-version }}_boost-${{ env.BOOST_VERSION }}_dakota-${{ env.DAKOTA_VERSION }} + path: ./carolina_dist + - name: Get Carolina wheel from cache uses: actions/cache/restore@v3 id: restore-cached-package