From 6796c373f50d8a467f62eee63bcc4822c2fa92a2 Mon Sep 17 00:00:00 2001 From: Arthur Ming Date: Sun, 4 Feb 2024 19:06:35 +0800 Subject: [PATCH] ci: close bazel CI/CD (#88) --- .github/workflows/ci.yaml | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 58cbb01..cde91c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,28 +51,28 @@ jobs: run: cd ./src/main/react && yarn && yarn build - name: Build with Gradle run: ./gradlew build -x test - build-bazel: - needs: build - runs-on: ${{ matrix.os }} - strategy: - matrix: - java-version: [ 21 ] - node-version: [ 20 ] - os: [ ubuntu-latest ] - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: ${{ matrix.java-version }} - - name: Install yarn - run: npm install -g yarn - - name: Build with vite - run: cd ./src/main/react && yarn && yarn build - - name: Build with bazel - run: bazel build //:jobs + # build-bazel: + # needs: build + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # java-version: [ 21 ] + # node-version: [ 20 ] + # os: [ ubuntu-latest ] + # steps: + # - uses: actions/checkout@v3 + # - name: Use Node.js ${{ matrix.node-version }} + # uses: actions/setup-node@v1 + # with: + # node-version: ${{ matrix.node-version }} + # - name: Set up JDK + # uses: actions/setup-java@v3 + # with: + # distribution: 'zulu' + # java-version: ${{ matrix.java-version }} + # - name: Install yarn + # run: npm install -g yarn + # - name: Build with vite + # run: cd ./src/main/react && yarn && yarn build + # - name: Build with bazel + # run: bazel build //:jobs