From: Tom Hromatka Date: Thu, 9 Jun 2022 18:59:27 +0000 (-0600) Subject: github: Run apt-get update first X-Git-Tag: v3.0~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec9f313301c0be6318593ec06d6abb33b753cfbb;p=thirdparty%2Flibcgroup.git github: Run apt-get update first Run apt-get update prior to running apt-get install Signed-off-by: Tom Hromatka --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0d5c77ce..e7432093 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -113,7 +113,9 @@ jobs: steps: - name: Install container dependencies - run: sudo apt-get install lxc lxd + run: | + sudo apt-get update + sudo apt-get install lxc lxd - uses: actions/checkout@v2 with: submodules: false @@ -133,7 +135,9 @@ jobs: steps: - name: Install container dependencies - run: sudo apt-get install lxc lxd + run: | + sudo apt-get update + sudo apt-get install lxc lxd - uses: actions/checkout@v2 with: submodules: false @@ -188,7 +192,9 @@ jobs: sudo su -c "echo +cpuset > /sys/fs/cgroup/unified/cgroup.subtree_control" cat /sys/fs/cgroup/unified/cgroup.subtree_control - name: Install container dependencies - run: sudo apt-get install lxc lxd + run: | + sudo apt-get update + sudo apt-get install lxc lxd - uses: actions/checkout@v2 with: submodules: false