Add 'apt-get update' in GitHub action workflow

And change 'apt' to 'apt-get' to prevent the warning message:
'WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.'
This commit is contained in:
lwthiker
2022-04-30 11:42:37 +03:00
parent ea63973256
commit 2b4b284cc8

View File

@@ -28,13 +28,14 @@ jobs:
- name: Install Ubuntu dependencies
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt install build-essential pkg-config cmake ninja-build curl autoconf automake libtool
sudo apt-get update
sudo apt-get install build-essential pkg-config cmake ninja-build curl autoconf automake libtool
# Chrome version dependencies
sudo apt install golang-go
sudo apt-get install golang-go
# Needed to compile 'minicurl'
sudo apt install libcurl4-openssl-dev
sudo apt-get install libcurl4-openssl-dev
# More dependencies for the tests
sudo apt install tcpdump nghttp2-server libnss3
sudo apt-get install tcpdump nghttp2-server libnss3
- name: Install macOS dependencies
if: matrix.os == 'macos-11'