From 9a8ffe403e745d914ac121bfd3a4346745932b7f Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 2 Aug 2021 16:06:56 +0200 Subject: [PATCH] Set a fixed version of cmake to fix issues with GitHub actions --- .github/workflows/ResInsightWithCache.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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}