Skip to content

Commit

Permalink
ci: Update repos before installing packages
Browse files Browse the repository at this point in the history
(cherry picked from commit 2ae0580)
Signed-off-by: LIU Hao <[email protected]>
  • Loading branch information
lhmouse committed Apr 7, 2024
1 parent c4ba012 commit 67c6ac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

- name: Install dependencies
run: >-
sudo apt-get update &&
sudo apt-get install -y --no-install-recommends g++-7 python3
pkgconf libedit-dev libpcre2-dev libssl-dev zlib1g-dev uuid-dev
ninja-build python3-pip
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:

- name: Install dependencies
run: >-
pacman -S --noconfirm gcc meson pkgconf libedit-devel
pacman -Sy --noconfirm gcc meson pkgconf libedit-devel
pcre2-devel openssl-devel zlib-devel libiconv-devel
libutil-linux-devel
Expand Down

0 comments on commit 67c6ac0

Please sign in to comment.