From 8fc9d92da2724e84c7eda29e91c985cb5518f86b Mon Sep 17 00:00:00 2001 From: seven Date: Sat, 15 Jul 2023 18:26:57 +0800 Subject: [PATCH] setup java --- .github/workflows/node.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 3d593f4..16e628f 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -12,11 +12,17 @@ jobs: matrix: os: [macos-latest, ubuntu-latest] node-version: [16.x, 18.x] + java-version: [ '17' ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 + - name: Use microsoft Java ${{ matrix.java-version }} + uses: actions/setup-java@v3 + with: + distribution: 'microsoft' + java-version: ${{ matrix.java-version }} - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: