Skip to content

Commit

Permalink
ci: close bazel CI/CD (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai authored Feb 4, 2024
1 parent c9795d2 commit 6796c37
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6796c37

Please sign in to comment.