Skip to content

Commit

Permalink
Fix: GitHub actions failed on Ubuntu due to Grub
Browse files Browse the repository at this point in the history
Errors were encountered while processing:
 grub-efi-amd64-signed
needrestart is being skipped since dpkg has failed

Co-authored-by: Ali El broudi <ali.elb@gmail.com>
  • Loading branch information
hoh and aliel committed Mar 2, 2023
1 parent 6693c8a commit 23e28e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23e28e3

Please sign in to comment.