From: Belen Pruvost Date: Mon, 28 Feb 2022 10:55:58 +0000 (+0100) Subject: SQSCANNER-100 - Upgrade github-action_release to v4 X-Git-Tag: 4.8.0.2856~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=969be161dc945ed73f3658f3ef3d85ace9cb7af5;p=sonar-scanner-cli.git SQSCANNER-100 - Upgrade github-action_release to v4 --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a52753..83909c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,15 @@ jobs: name: Start release process timeout-minutes: 60 steps: + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.BINARIES_AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.BINARIES_AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.BINARIES_AWS_REGION }} - name: Run release action id: run_release - uses: SonarSource/gh-action_release/main@v3 + uses: SonarSource/gh-action_release/main@v4 with: distribute: true publish_to_binaries: true @@ -83,14 +89,14 @@ jobs: id: local_repo run: echo ::set-output name=dir::"$(mktemp -d repo.XXXXXXXX)" - name: Download Artifacts - uses: SonarSource/gh-action_release/download-build@v3 + uses: SonarSource/gh-action_release/download-build@v4 with: build-number: ${{ steps.get_version.outputs.build }} local-repo-dir: ${{ steps.local_repo.outputs.dir }} - name: Maven Central Sync id: maven-central-sync continue-on-error: true - uses: SonarSource/gh-action_release/maven-central-sync@v3 + uses: SonarSource/gh-action_release/maven-central-sync@v4 with: local-repo-dir: ${{ steps.local_repo.outputs.dir }} env: