mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
apt-get update on github (#113)
Summary: Pull Request resolved: https://github.com/facebookexperimental/eden/pull/113 GitHub Actions was failing at apt-get stage, error message suggested adding an apt-get update as remedy. Added in this diff and it indeed works. The actions build fails later on missing mio::net module when building mysql async, but that's unrelated to this change. Reviewed By: farnz Differential Revision: D34368662 fbshipit-source-id: f0a00da3ee740ae4443a328616e792ea615c922c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
500c45f4ea
commit
66e770a87d
@@ -988,9 +988,13 @@ jobs:
|
||||
build_opts.allow_system_packages
|
||||
and build_opts.host_type.get_package_manager()
|
||||
):
|
||||
allow_sys_arg = " --allow-system-packages"
|
||||
out.write(" - name: Install system deps\n")
|
||||
sudo_arg = "sudo "
|
||||
allow_sys_arg = " --allow-system-packages"
|
||||
if build_opts.host_type.get_package_manager() == "deb":
|
||||
out.write(" - name: Update system package info\n")
|
||||
out.write(f" run: {sudo_arg}apt-get update\n")
|
||||
|
||||
out.write(" - name: Install system deps\n")
|
||||
if build_opts.is_darwin():
|
||||
# brew is installed as regular user
|
||||
sudo_arg = ""
|
||||
|
Reference in New Issue
Block a user