This is an automated email from the ASF dual-hosted git repository.

zike pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ecad18  [fix] Always update brew in CI (#328)
2ecad18 is described below

commit 2ecad18f39c4eacc6c50627cb8c29bc42ed44093
Author: Zike Yang <[email protected]>
AuthorDate: Fri May 19 12:15:20 2023 +0800

    [fix] Always update brew in CI (#328)
    
    ### Motivation
    
    If we don't update the brew, the CI may install the old version of CPP lib 
and cause the CI to be failed like this:
    
https://github.com/apache/pulsar-client-node/actions/runs/5016662858/jobs/9000623283?pr=326#step:4:26
    
    ### Modifications
    
    * Update the brew in CI
---
 .github/workflows/ci-pr-validation.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci-pr-validation.yml 
b/.github/workflows/ci-pr-validation.yml
index 0c61118..299758b 100644
--- a/.github/workflows/ci-pr-validation.yml
+++ b/.github/workflows/ci-pr-validation.yml
@@ -253,6 +253,7 @@ jobs:
           cache: 'npm'
       - name: Install CPP lib
         run: |
+          brew update
           brew install libpulsar
       - name: Build Node binaries lib
         run: |

Reply via email to