diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index fbac6e3503..814c545985 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -8,7 +8,6 @@ on: # build cache is - cron: '0 1 * * * ' env: - NINJA_VERSION: 1.9.0 BUILD_TYPE: Release BUILDCACHE_VERSION: 0.24.4 BUILDCACHE_DIR: ${{ github.workspace }}/buildcache_dir @@ -73,10 +72,11 @@ jobs: python-version: '3.8' - name: Display Python version run: python -c "import sys; print(sys.version)" - - name: Download Ninja - uses: seanmiddleditch/gha-setup-ninja@master - with: - version: ${{ env.NINJA_VERSION }} + + # workaround a poor interaction between github actions/cmake/vcpkg, see https://github.com/lukka/run-vcpkg/issues/88#issuecomment-885758902 + - name: Use CMake 3.20.1 + uses: lukka/get-cmake@v3.20.1 + - name: Download buildcache id: buildcache-download shell: cmake -P {0}