From 05a7f02855819d11ebe85d39a2e218e5fea9efc1 Mon Sep 17 00:00:00 2001 From: Aleksandra Onych Date: Fri, 20 Sep 2024 10:40:23 +0200 Subject: [PATCH] [ACS-8670] bump actions to latest version (#2922) --- .github/workflows/ci.yml | 94 ++++++++++++++-------------- .github/workflows/master_release.yml | 48 +++++++------- 2 files changed, 71 insertions(+), 71 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71e130636d..69ce8cb2f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,15 +44,15 @@ jobs: ((github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'pull_request') && !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v7.0.0 continue-on-error: true with: srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }} @@ -120,12 +120,12 @@ jobs: compose-file: docker-compose-with-ldap.yml deploy-timeout: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -168,12 +168,12 @@ jobs: profiles: all-tas-tests,run-cmis-atom-with-aims deploy-timeout: 40 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -202,12 +202,12 @@ jobs: !contains(github.event.head_commit.message, '[skip search]') && !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -234,12 +234,12 @@ jobs: !contains(github.event.head_commit.message, '[skip search]') && !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -266,12 +266,12 @@ jobs: !contains(github.event.head_commit.message, '[skip tas]') && !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -314,12 +314,12 @@ jobs: profiles: all-tas-tests,elastic-basic-auth search-engine-type: opensearch steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -346,19 +346,19 @@ jobs: - testSuite: Opensearch search-engine-type: opensearch steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | bash ./scripts/ci/init.sh bash ./scripts/ci/build.sh - name: "Configure AWS credentials" - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_S3_ACSLICENSE_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_S3_ACSLICENSE_SECRET_ACCESS_KEY }} @@ -377,12 +377,12 @@ jobs: if: > !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -413,12 +413,12 @@ jobs: if: > !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -443,13 +443,13 @@ jobs: github.event_name != 'pull_request' && !contains(github.event.head_commit.message, '[skip tests]') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 - - uses: actions/setup-python@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - name: "Build" diff --git a/.github/workflows/master_release.yml b/.github/workflows/master_release.yml index 2584a8ef0b..798f832ed7 100644 --- a/.github/workflows/master_release.yml +++ b/.github/workflows/master_release.yml @@ -44,14 +44,14 @@ jobs: ports: - 5000:5000 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: linux/amd64,linux/arm64 - name: "Build" @@ -82,15 +82,15 @@ jobs: ports: - 5000:5000 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 - - uses: actions/setup-python@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 + - uses: actions/setup-python@v5 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: linux/amd64,linux/arm64 - name: "Build" @@ -98,7 +98,7 @@ jobs: run: | bash ./scripts/ci/init.sh bash ./scripts/ci/build.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.0.0 with: username: ${{ env.GIT_USERNAME }} email: ${{ env.GIT_EMAIL }} @@ -115,7 +115,7 @@ jobs: - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh - name: "Configure AWS credentials" - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_S3_STAGING_ACCESS_KEY }} aws-secret-access-key: ${{ secrets.AWS_S3_STAGING_SECRET_KEY }} @@ -139,16 +139,16 @@ jobs: contains(github.event.head_commit.message, '[publish]') && github.event_name != 'pull_request' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.0.0 with: username: ${{ env.GIT_USERNAME }} email: ${{ env.GIT_EMAIL }} @@ -157,7 +157,7 @@ jobs: timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: bash scripts/ci/maven_publish.sh - name: "Configure AWS credentials" - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_S3_RELEASE_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_S3_RELEASE_SECRET_ACCESS_KEY }} @@ -183,15 +183,15 @@ jobs: !contains(github.event.head_commit.message, '[no downstream]'))) && github.event_name != 'pull_request' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v1.35.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.35.2 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.0.0 with: username: ${{ env.GIT_USERNAME }} email: ${{ env.GIT_EMAIL }}