This is an automated email from the ASF dual-hosted git repository. aaronai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit 64a816c7de0a8a2aa26ec68a6ae884db9aa96e42 Author: Aaron Ai <[email protected]> AuthorDate: Sat Jun 18 11:37:07 2022 +0800 Fix typo --- .github/workflows/cpp_ci.yml | 19 +++++++++++++++ .github/workflows/csharp_ci.yml | 21 +++++++++++++++++ .github/workflows/java_ci.yml | 19 +++++++++++++++ .github/workflows/main.yml | 52 ----------------------------------------- 4 files changed, 59 insertions(+), 52 deletions(-) diff --git a/.github/workflows/cpp_ci.yml b/.github/workflows/cpp_ci.yml new file mode 100644 index 0000000..853f9da --- /dev/null +++ b/.github/workflows/cpp_ci.yml @@ -0,0 +1,19 @@ +name: CI +on: [push, pull_request] +jobs: + cpp_build: + name: CPP Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Bazel + run: | + sudo apt-get -qq install npm + sudo npm install -g @bazel/bazelisk + - name: Use Bazel + if: matrix.os != 'windows' + working-directory: ./cpp + run: bazel -h + - name: Compile All Targets + working-directory: ./cpp + run: bazel build //... diff --git a/.github/workflows/csharp_ci.yml b/.github/workflows/csharp_ci.yml new file mode 100644 index 0000000..fd7ee58 --- /dev/null +++ b/.github/workflows/csharp_ci.yml @@ -0,0 +1,21 @@ +name: CI +on: [push, pull_request] +jobs: + c_sharp_build: + name: C# Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 5.0.x + 6.0.x + - name: Build artifacts + working-directory: ./csharp + run: | + dotnet --version + dotnet build + diff --git a/.github/workflows/java_ci.yml b/.github/workflows/java_ci.yml new file mode 100644 index 0000000..0494ed1 --- /dev/null +++ b/.github/workflows/java_ci.yml @@ -0,0 +1,19 @@ +name: CI +on: [push, pull_request] +jobs: + java_build: + name: Java Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + working-directory: ./java + run: mvn -B package --file pom.xml + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 7fb18dc..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: CI -on: [push, pull_request] -jobs: - cpp_build: - name: CPP build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Bazel - run: | - sudo apt-get -qq install npm - sudo npm install -g @bazel/bazelisk - - name: Use Bazel - if: matrix.os != 'windows' - working-directory: ./cpp - run: bazel -h - - name: Compile All Targets - working-directory: ./cpp - run: bazel build //... - c_sharp_build: - name: C# build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup dotnet - uses: actions/setup-dotnet@v1 - with: - dotnet-version: | - 5.0.x - 6.0.x - - name: Build artifacts - working-directory: ./csharp - run: | - dotnet --version - dotnet build - java_build: - name: Java build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - cache: maven - - name: Build with Maven - working-directory: ./java - run: mvn -B package --file pom.xml -
