From 209ddea6c7c85a92b7d13e254b2ebd09d64d328c Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Wed, 24 Apr 2024 10:14:52 +0000 Subject: [PATCH] workaround for apt-get update failures (#1659) --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4c7cfe2..d47de444 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: - name: Install dependencies (Linux) if: runner.os == 'Linux' run: | - sudo apt-get update + sudo apt-get update || true sudo apt-get install \ ninja-build \ libsdl2-dev \ @@ -140,7 +140,9 @@ jobs: steps: - name: Install dependencies - run: sudo apt-get update && sudo apt-get install cppcheck + run: | + sudo apt-get update || true + sudo apt-get install cppcheck - uses: actions/checkout@v4