Skip to content

Commit bd50286

Browse files
committed
Replace action to install specific CMake version in CI
Since `jwlawson/actions-setup-cmake` scrapes the CMake webpage it sometimes fail, lets replace it with `lukka/get-cmake` that is expected to be more stable. Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
1 parent b48dca9 commit bd50286

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
sudo apt-get install -y "${{ matrix.compiler }}"
7878
fi
7979
- name: Setup CMake
80-
uses: jwlawson/actions-setup-cmake@3a6cbe35ba64df7ca70c51365c4aff65db9a9037 # v2.1.1
80+
uses: lukka/get-cmake@f176ccd3f28bda569c43aae4894f06b2435a3375 # v4.2.3
8181
with:
82-
cmake-version: ${{ matrix.cmake-version }}
82+
cmakeVersion: ${{ matrix.cmake-version }}
8383
- name: Generate makefiles
8484
run: |
8585
if [ -n "${{ matrix.sanitizer }}" ]; then
@@ -223,9 +223,9 @@ jobs:
223223
steps:
224224
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
225225
- name: Setup CMake
226-
uses: jwlawson/actions-setup-cmake@3a6cbe35ba64df7ca70c51365c4aff65db9a9037 # v2.1.1
226+
uses: lukka/get-cmake@f176ccd3f28bda569c43aae4894f06b2435a3375 # v4.2.3
227227
with:
228-
cmake-version: '3.7.0'
228+
cmakeVersion: '3.7.0'
229229
- name: Generate makefiles
230230
run: |
231231
mkdir build && cd build

0 commit comments

Comments
 (0)