From 23e28e37f41aff3851ae41797a181180832d84c5 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Thu, 2 Mar 2023 14:35:38 +0100 Subject: [PATCH] Fix: GitHub actions failed on Ubuntu due to Grub Errors were encountered while processing: grub-efi-amd64-signed needrestart is being skipped since dpkg has failed Co-authored-by: Ali El broudi --- .github/workflows/build-wheels.yml | 4 ++++ .github/workflows/code-quality.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index ce299659..4816482d 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Workaround github issue https://github.com/actions/runner-images/issues/7192 + if: startsWith(matrix.os, 'ubuntu-') + run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc + - name: Install required system packages for macOS if: startsWith(matrix.os, 'macos-') run: | diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 70a423b4..494c75e8 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -9,6 +9,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Workaround github issue https://github.com/actions/runner-images/issues/7192 + run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc + - name: Install required system packages only for Ubuntu Linux run: | sudo apt-get update