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/14 07:05:37 UTC
[rocketmq-client-cpp] branch main updated: Update main.yml
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-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 4bc0e35 Update main.yml
4bc0e35 is described below
commit 4bc0e350f77490a89da21f6fe0e825222a5d3ea0
Author: Zhanhui Li <li...@apache.org>
AuthorDate: Thu Oct 14 15:05:32 2021 +0800
Update main.yml
Trigger CI on commit or pull-request against main branch
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ffd3522..72c1725 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,9 +6,9 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
- branches: [ master, develop ]
+ branches: [ main ]
pull_request:
- branches: [ master, develop ]
+ branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -35,4 +35,4 @@ jobs:
- name: Compile All Targets
run: bazel build //...
- name: Run Unit Tests
- run: bazel test --test_output=errors //src/test/cpp/ut/...
\ No newline at end of file
+ run: bazel test --test_output=errors //src/test/cpp/ut/...