From f96d9cd68c562f98647aa286794870dfc24703ae Mon Sep 17 00:00:00 2001 From: Anton Malinskiy Date: Mon, 22 Jan 2024 15:23:51 +1000 Subject: [PATCH] feature(ci): add JRE 17 required by Android SDK --- .github/workflows/test-linux.yml | 5 +++++ .github/workflows/test-macos.yml | 5 +++++ 2 files changed, 10 insertions(+) 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