Run apt-get update as a first step for GH actions

otherwise container may contain stall repo metadata cached
This commit is contained in:
Sergei Iudin
2021-07-19 11:38:45 -07:00
committed by Andrii Nakryiko
parent b3ffd258fc
commit 9aa71e1040

View File

@@ -10,6 +10,7 @@ runs:
# this is somewhat ugly, but that is the easiest way to share this code with
# arch specific docker
echo export DEBIAN_FRONTEND=noninteractive > /tmp/ci_setup
echo sudo apt-get update >> /tmp/ci_setup
echo sudo apt-get install -y aptitude qemu-kvm zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev >> /tmp/ci_setup
echo export PROJECT_NAME='libbpf' >> /tmp/ci_setup
echo export AUTHOR_EMAIL="$(git log -1 --pretty=\"%aE\")" >> /tmp/ci_setup