aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-07-23 09:53:59 +0300
committerMatias Elo <matias.elo@nokia.com>2021-07-23 16:33:07 +0300
commit04e49ea620c7a87b8fc6aa344e197272a03062b8 (patch)
tree5e111df1b230dd2a1b9c938a603e1303a7875e6d /.github
parent745a4a1eb87c16972504abac23f832fd913e46f0 (diff)
ci: update apt packages
Run 'apt update' before installing new packages. Fixes CI failures where packages were not found due to outdated information. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Shijith Thotton <sthotton@marvell.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci-pipeline.yml5
-rw-r--r--.github/workflows/gh-pages.yml1
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml
index f99dae0dc..29110b5a8 100644
--- a/.github/workflows/ci-pipeline.yml
+++ b/.github/workflows/ci-pipeline.yml
@@ -16,7 +16,9 @@ jobs:
fetch-depth: 0
- name: Install dependencies
- run: sudo apt install codespell
+ run: |
+ sudo apt update
+ sudo apt install codespell
- name: Check pull request
if: github.event_name == 'pull_request'
@@ -43,6 +45,7 @@ jobs:
- name: Install dependencies
run: |
+ sudo apt update
sudo apt install doxygen asciidoctor libconfig-dev libssl-dev mscgen cmake graphviz
sudo gem install asciidoctor
- name: Build
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index d70b0c860..4b242d94f 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -12,6 +12,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
+ sudo apt update
sudo apt install doxygen asciidoctor libconfig-dev libssl-dev mscgen cmake graphviz
sudo gem install asciidoctor
- name: Build