From c1ba5859372316198c36b801c2994c3d939ac1b9 Mon Sep 17 00:00:00 2001 From: Brad Cowie Date: Sun, 23 Aug 2020 10:01:23 +1200 Subject: [PATCH] Fix apt errors in ccpp github action. --- .github/workflows/ccpp.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 9815a2d..b113d9c 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -4,15 +4,15 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + submodules: "recursive" - name: deps - run: sudo apt-get install protobuf-compiler libh2o-dev libcurl4-openssl-dev libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libncurses5-dev libeigen3-dev libzstd-dev - - name: submodules - run: git submodule update --init --recursive + run: | + sudo apt-get update + sudo apt-get install protobuf-compiler libh2o-dev libcurl4-openssl-dev libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libncurses5-dev libeigen3-dev libzstd-dev - name: config run: echo WSLAY=-lwslay > Makefile.local - name: make