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 }}