diff options
author | Joel Stanley <joel@jms.id.au> | 2022-03-16 23:02:23 +1030 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-03-17 07:59:49 +0100 |
commit | e32e57e9728690f251c00894570bcdddd18de49c (patch) | |
tree | eb2cd32444cf0d633f63f2059f892687b95dd2e8 /.github | |
parent | 9a1f95f87004d8a9491e74d07293776fe87fe19b (diff) | |
download | skiboot-e32e57e9728690f251c00894570bcdddd18de49c.zip skiboot-e32e57e9728690f251c00894570bcdddd18de49c.tar.gz skiboot-e32e57e9728690f251c00894570bcdddd18de49c.tar.bz2 |
github: Run update before installing packages
The Github CI runners sometimes need to update their apt cache, or
packages fail to install:
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-9-cross/gcc-9-powerpc64le-linux-gnu_9.3.0-17ubuntu1~20.04cross2_amd64.deb 404 Not Found [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-docs.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 242f200..aab47f7 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -15,11 +15,10 @@ jobs: uses: actions/checkout@v2 - name: Install apt dependencies - run: | - sudo apt install -qq build-essential gcc-powerpc64le-linux-gnu git lcov \ - device-tree-compiler libssl-dev libmbedtls-dev \ - python3-sphinx python3-recommonmark - + run: sudo apt-get update && + sudo apt-get install -qq build-essential gcc-powerpc64le-linux-gnu git lcov + device-tree-compiler libssl-dev libmbedtls-dev python3-sphinx + python3-recommonmark - name: Generate docs and coverage report run: ./opal-ci/build-docs.sh |