From ec9f313301c0be6318593ec06d6abb33b753cfbb Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Thu, 9 Jun 2022 12:59:27 -0600 Subject: [PATCH] github: Run apt-get update first Run apt-get update prior to running apt-get install Signed-off-by: Tom Hromatka --- .github/workflows/continuous-integration.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 2.47.3