diff mbox series

github: Run apt update before installing packages

Message ID 20220517044347.255406-1-joel@jms.id.au
State New
Headers show
Series github: Run apt update before installing packages | expand

Checks

Context Check Description
snowpatch_ozlabs/github-CI success Successfully ran 1 jobs.

Commit Message

Joel Stanley May 17, 2022, 4:43 a.m. UTC
Fixes failure to fetch packages from the Azure Ubuntu archive mirror.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 .github/workflows/github-actions.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml
index 875bf5878261..c6e20c0bf1fd 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -7,7 +7,8 @@  jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Install dependencies
-        run: sudo apt-get install -yy make autoconf automake libtool
+        run: sudo apt update && sudo apt-get install -qq
+          make autoconf automake libtool
           gcc-arm-linux-gnueabi libc-dev-armel-cross
           gcc-powerpc64le-linux-gnu libc-dev-ppc64el-cross
           git device-tree-compiler