From f8034ac4627ec9cec8ca1d6c78057041fec70663 Mon Sep 17 00:00:00 2001 From: Sylwester Zielinski Date: Wed, 3 May 2023 10:41:10 +0200 Subject: [PATCH] Add Java 17 to Github Actions --- .github/workflows/deploy-all.yml | 8 ++++++++ .github/workflows/deploy-to-play-store.yml | 4 ++++ .github/workflows/generate-readme.yml | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/.github/workflows/deploy-all.yml b/.github/workflows/deploy-all.yml index a07bfec4..ac5f3e56 100644 --- a/.github/workflows/deploy-all.yml +++ b/.github/workflows/deploy-all.yml @@ -11,6 +11,10 @@ jobs: with: ref: main fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash run: | git config user.email mag@nordicsemi.no @@ -29,6 +33,10 @@ jobs: with: ref: main fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash env: KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} diff --git a/.github/workflows/deploy-to-play-store.yml b/.github/workflows/deploy-to-play-store.yml index 37208f65..b0856553 100644 --- a/.github/workflows/deploy-to-play-store.yml +++ b/.github/workflows/deploy-to-play-store.yml @@ -8,6 +8,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash env: KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index feba80f7..92b7c41c 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -8,6 +8,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash env: CONTACT_EMAIL: ${{ secrets.CONTACT_EMAIL }}