This is an automated email from the ASF dual-hosted git repository. xyz pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
commit 02a2adfab43de7a25f7b085798e362f7b9fde3d3 Author: Baodi Shi <[email protected]> AuthorDate: Fri Oct 28 15:26:38 2022 +0800 Fix ci install deps failed. (#96) ### Motivation CI start failed. https://github.com/apache/pulsar-client-cpp/actions/runs/3342410397/jobs/5534859707 ### Modifications - apt update before apt install. (cherry picked from commit 42a425f24c032738f835e98fe560e54139986404) --- .github/workflows/ci-pr-validation.yaml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pr-validation.yaml b/.github/workflows/ci-pr-validation.yaml index a8c8905..62bf6ae 100644 --- a/.github/workflows/ci-pr-validation.yaml +++ b/.github/workflows/ci-pr-validation.yaml @@ -40,7 +40,8 @@ jobs: - name: Install deps run: | - sudo apt-get install -y \ + sudo apt-get update -y && \ + sudo apt-get install -y \ libcurl4-openssl-dev \ protobuf-compiler \ libprotobuf-dev \ diff --git a/README.md b/README.md index 6d2a9ee..5d75ba2 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ cd pulsar-client-cpp #### Install all dependencies: ```shell -sudo apt-get install -y g++ cmake libssl-dev libcurl4-openssl-dev \ +sudo apt-get update -y && apt-get install -y g++ cmake libssl-dev libcurl4-openssl-dev \ libprotobuf-dev libboost-all-dev libgtest-dev libgmock-dev \ protobuf-compiler ```
