From 30c8af124c461fd4999e15489dcd8106b8d9b6e5 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Fri, 29 Sep 2023 18:10:16 +0200 Subject: [PATCH] Release scripts fixed --- .github/workflows/deploy-all.yml | 8 ++++++-- .github/workflows/deploy-to-nexus.yml | 6 +++++- .github/workflows/generate-readme.yml | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-all.yml b/.github/workflows/deploy-all.yml index fc2d659d..2f8cc096 100644 --- a/.github/workflows/deploy-all.yml +++ b/.github/workflows/deploy-all.yml @@ -8,7 +8,7 @@ jobs: generateReadme: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: main fetch-depth: 0 @@ -28,10 +28,14 @@ jobs: needs: generateReadme runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: main fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash env: # The following env variables are used by gradle/publish-module.gradle diff --git a/.github/workflows/deploy-to-nexus.yml b/.github/workflows/deploy-to-nexus.yml index d98f05aa..a3b597e0 100644 --- a/.github/workflows/deploy-to-nexus.yml +++ b/.github/workflows/deploy-to-nexus.yml @@ -5,9 +5,13 @@ jobs: deployAarsToNexus: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: '17' - shell: bash env: # The following env variables are used by gradle/publish-module.gradle diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index c4e13c6b..9887d7a0 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -5,7 +5,7 @@ jobs: generateReadme: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - shell: bash