Skip to content

Commit

Permalink
Workaround GH ubuntu-latest runner issue (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielDosReis authored Mar 8, 2023
1 parent 9b54cf3 commit bd801cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:

- name: Install GCC, CMake
run: |
sudo apt-get update
# https://github.com/actions/runner-images/issues/7192
echo 'APT::Get::Always-Include-Phased-Updates "false";' | sudo tee /etc/apt/apt.conf.d/99-phased-updates
sudo apt-get update && sudo apt-get -y upgrade --fix-missing
sudo apt-get install build-essential cmake texlive texlive-latex-extra
- name: Configure & Build CMake
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
- name: Install C++ compilers, and CMake
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update && sudo apt upgrade
# https://github.com/actions/runner-images/issues/7192
echo 'APT::Get::Always-Include-Phased-Updates "false";' | sudo tee /etc/apt/apt.conf.d/99-phased-updates
sudo apt update && sudo apt-get -y upgrade --fix-missing
sudo apt-get install build-essential cmake
- name: Configure and build
Expand Down

0 comments on commit bd801cc

Please sign in to comment.