From 9aa71e104094a44cfa7a80fcae7c87ad3c7ac5ea Mon Sep 17 00:00:00 2001 From: Sergei Iudin Date: Mon, 19 Jul 2021 11:38:45 -0700 Subject: [PATCH] Run apt-get update as a first step for GH actions otherwise container may contain stall repo metadata cached --- .github/actions/setup/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 767f39d..e6002f3 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -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