diff options
author | Belen Pruvost <belen.pruvost@sonarsource.com> | 2022-02-28 11:55:58 +0100 |
---|---|---|
committer | belen-pruvost-sonarsource <belen.pruvost@sonarsource.com> | 2022-02-28 12:27:37 +0100 |
commit | 969be161dc945ed73f3658f3ef3d85ace9cb7af5 (patch) | |
tree | cdc9fefd4051b49e4a0fc575d348664fe03bac65 | |
parent | d250d2e5413da432fd5f49369e45d3d26c481843 (diff) | |
download | sonar-scanner-cli-969be161dc945ed73f3658f3ef3d85ace9cb7af5.tar.gz sonar-scanner-cli-969be161dc945ed73f3658f3ef3d85ace9cb7af5.zip |
SQSCANNER-100 - Upgrade github-action_release to v4
-rw-r--r-- | .github/workflows/release.yml | 12 |
1 files changed, 9 insertions, 3 deletions
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: |