Skip to content

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox

Add 'apt-get update' in GitHub action workflow

lwthiker2b4b284cc803
diff --git a/.github/workflows/build-and-test-make.yml b/.github/workflows/build-and-test-make.yml
index deaddfe..2d4c89d 100644
--- a/.github/workflows/build-and-test-make.yml
+++ b/.github/workflows/build-and-test-make.yml
@@ -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'