mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-10 10:49:26 +00:00
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:
9
.github/workflows/build-and-test-make.yml
vendored
9
.github/workflows/build-and-test-make.yml
vendored
@@ -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'
|
||||
|
Reference in New Issue
Block a user