Skip to content

Commit 0ad0bb7

Browse files
authored
Fix apt in ubuntu workflows (#358)
1 parent 64e514c commit 0ad0bb7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
# https://github.com/doxygen/doxygen/issues/9016
2525
- name: Build Doxygen
2626
run: |
27-
sudo apt install cmake ninja-build graphviz graphviz
27+
sudo apt update -y
28+
sudo apt install -y cmake ninja-build graphviz graphviz
2829
git clone https://github.com/doxygen/doxygen.git ../doxygen
2930
cmake -S ../doxygen -B ../doxygen/build -G Ninja
3031
sudo ninja -C ../doxygen/build install

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
- name: Setup Ubuntu (Intel)
6161
if: matrix.os == 'ubuntu' && matrix.intel == true
6262
run: |
63-
sudo apt install tar wget make cmake python3 python3-dev
63+
sudo apt update -y
64+
sudo apt install -y tar wget make cmake python3 python3-dev
6465
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
6566
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
6667
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB

0 commit comments

Comments
 (0)