From 310e27dc70fbe0cd37c9caf3a1ba68705f823656 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 23 Feb 2023 12:57:29 +0100 Subject: [PATCH] Data stuck in cache causes grub issues. grub issues -- hopefully temporary, until github fixed this -- disk (partition)used from last time is cached, but since this runs in the cloud, that's of course no longer valid on the next run --- .github/workflows/conan-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/conan-package.yml b/.github/workflows/conan-package.yml index 49bdaef2a5..b0970f60a8 100644 --- a/.github/workflows/conan-package.yml +++ b/.github/workflows/conan-package.yml @@ -98,9 +98,13 @@ jobs: $HOME/.conan/conan_download_cache key: conan-ubuntu-${{ runner.arch }}-create-cache + # NOTE: Due to what are probably github issues, we have to remove the cache and reconfigure before the rest. + # This is maybe because grub caches the disk it uses last time, which is recreated each time. - name: Install Linux system requirements if: ${{ runner.os == 'Linux' }} run: | + sudo rm /var/cache/debconf/config.dat + sudo dpkg --configure -a sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo apt update sudo apt upgrade