From 5beba7ed99897711365fb87a405d82040dda8cfb Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Sun, 30 Jul 2023 14:56:33 +0200 Subject: [PATCH] try with setup-cmake action --- .github/workflows/tests+pypi.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests+pypi.yml b/.github/workflows/tests+pypi.yml index f9b6df3c..5ac4a17f 100644 --- a/.github/workflows/tests+pypi.yml +++ b/.github/workflows/tests+pypi.yml @@ -57,10 +57,9 @@ jobs: echo CMAKE_GENERATOR="Ninja" >> $GITHUB_ENV echo TEMP="D:/a/_temp/" >> $GITHUB_ENV - - if: startsWith(matrix.platform, 'ubuntu-') - run: | - apt-cache madison cmake - sudo apt-get install cmake=3.22.1-1ubuntu1.22.04.1 + - uses: jwlawson/actions-setup-cmake@v1.13 + with: + cmake-version: '3.26.x' - uses: actions/checkout@v2 with: