diff options
author | Jan Matyas <matyas@codasip.com> | 2021-07-23 07:29:56 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-07-31 10:10:32 +0100 |
commit | 9eefd630669f74508f056071eb28ac097cf6c75c (patch) | |
tree | cf3fc1c9bc452fe33720a92eda4df626e55b53bd /.github | |
parent | 332a1607d9e9b1cca3a855c524dfe44bb51e1306 (diff) | |
download | riscv-openocd-9eefd630669f74508f056071eb28ac097cf6c75c.zip riscv-openocd-9eefd630669f74508f056071eb28ac097cf6c75c.tar.gz riscv-openocd-9eefd630669f74508f056071eb28ac097cf6c75c.tar.bz2 |
.github/workflows: Add missing 'apt-get update' to the snapshot workflow
During the build of the OpenOCD snapshot via GitHub Actions, ensure that
the local package database is first updated, prior to installing any
packages via apt-get install. Otherwise the apt-get install could fail.
Change-Id: If3c29faeb1496d5e2be75350f6352575b1f3a42e
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: http://openocd.zylin.com/6378
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Tim Newsome <tim@sifive.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/snapshot.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 45db72e..bde803c 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -14,7 +14,9 @@ jobs: BUILD_DIR: ../build steps: - name: Install needed packages - run: sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686 + run: | + sudo apt-get update + sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686 - name: Checkout Code uses: actions/checkout@v1 - run: ./bootstrap |