mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-20 16:29:07 +08:00
Run apt-get update as a first step for GH actions
otherwise container may contain stall repo metadata cached
This commit is contained in:
committed by
Andrii Nakryiko
parent
b3ffd258fc
commit
9aa71e1040
1
.github/actions/setup/action.yml
vendored
1
.github/actions/setup/action.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user