diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index d6ba9308..fca45a55 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -5,6 +5,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' - name: test install-sdk run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build working-directory: install-sdk diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index c47cf99b..f2bab7a6 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -5,6 +5,11 @@ jobs: runs-on: macOS-12 steps: - uses: actions/checkout@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' - name: test install-sdk run: npm config delete prefix && source ~/.nvm/nvm.sh && nvm install v16.15.0 && npm install && npm ci && npm run build working-directory: install-sdk