Skip to content

Commit 17fd6f5

Browse files
committed
CI: Add missing "sudo apt-get update"
Also add --no-install-recommends (to install as few as possible additional packages) packages and use apt-get rather than apt because the target is a machine (rather thamn a human).
1 parent c363089 commit 17fd6f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
)
5858
fi
5959
set -x
60-
sudo apt install -y "${ubuntu_packages[@]}"
60+
sudo apt-get update
61+
sudo apt-get install --no-install-recommends -y "${ubuntu_packages[@]}"
6162
6263
- name: Set reusable strings
6364
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.

0 commit comments

Comments
 (0)