workflows: do apt-get update before running install-build-deps.sh

This commit is contained in:
Ryo Nakamura
2023-11-11 16:51:00 +09:00
parent 8e8e1b935d
commit c292ce2b29
2 changed files with 6 additions and 2 deletions

View File

@@ -23,7 +23,9 @@ jobs:
submodules: true
- name: install build dependency
run: sudo ./scripts/install-build-deps.sh
run: |
sudo apt-get update
sudo ./scripts/install-build-deps.sh
- name: patch to libssh
run: patch -d libssh -p1 < patch/libssh-0.10.4.patch

View File

@@ -22,7 +22,9 @@ jobs:
# TODO: just building docker does not require libssh. fix CMakeLists
- name: install build dependency
run: sudo ./scripts/install-build-deps.sh
run: |
sudo apt-get update
sudo ./scripts/install-build-deps.sh
- name: configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}