You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2021/10/04 10:19:43 UTC

[rocketmq-apis] branch main updated: Install Bazel from official repository (#4)

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

lizhanhui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git


The following commit(s) were added to refs/heads/main by this push:
     new ada438d  Install Bazel from official repository (#4)
ada438d is described below

commit ada438d046981c49f2f2b8846ff8dccc9227a591
Author: Zhanhui Li <li...@apache.org>
AuthorDate: Mon Oct 4 18:19:40 2021 +0800

    Install Bazel from official repository (#4)
    
    * Install Bazelisk from official repository
---
 .github/workflows/main.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7d88236..3116429 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -26,14 +26,11 @@ jobs:
       - uses: actions/checkout@v2
       
       - name: Setup Bazel
-        uses: abhinavsingh/setup-bazel@v3
-        with:
-          version: 4.1.0
-      - name: Use Bazel (Windows only)
-        if: matrix.os == 'windows'
-        run: ./bazel.exe -h
+        run: |
+          sudo apt-get -qq install npm
+          sudo npm install -g @bazel/bazelisk
       - name: Use Bazel
         if: matrix.os != 'windows'
         run: bazel -h
       - name: Compile All Targets
-        run: bazel build //...
\ No newline at end of file
+        run: bazel build //...