CI: Github Action: run "apt-get update" before packages restore

ubuntu somehow needs it, no idea why does not apt-get do it itself.
This commit is contained in:
Ilya Shipitsin 2020-11-21 13:42:19 +05:00 committed by Willy Tarreau
parent 496374e592
commit e48853aaf4

View File

@ -46,6 +46,7 @@ jobs:
- name: Install apt dependencies - name: Install apt dependencies
if: ${{ startsWith(matrix.os, 'ubuntu-') }} if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: | run: |
sudo apt-get update
sudo apt-get install -y \ sudo apt-get install -y \
liblua5.3-dev \ liblua5.3-dev \
libpcre2-dev \ libpcre2-dev \