From 3634e15e6ac2332642cd472622dbd6efcc65ac43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schu=CC=88mann?= Date: Sat, 27 Dec 2025 22:07:27 +0100 Subject: [PATCH] Fix formatting and resolve expired GPG key issues in build_cmake.yml --- .github/workflows/build_cmake.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 04a6cc4..3742b79 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -229,7 +229,12 @@ jobs: - name: Install CMake and Ninja run: | apt-get update - apt-get install -y cmake ninja-build + # GCC 5-6 need --allow-unauthenticated due to expired Jessie GPG keys + if [ "${{ matrix.compiler }}" = "gcc" ] && ([ "${{ matrix.version }}" = "5" ] || [ "${{ matrix.version }}" = "6" ]); then + apt-get install -y --allow-unauthenticated cmake ninja-build + else + apt-get install -y cmake ninja-build + fi - name: Configure run: |