]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SQSCANNER-100 - Upgrade github-action_release to v4
authorBelen Pruvost <belen.pruvost@sonarsource.com>
Mon, 28 Feb 2022 10:55:58 +0000 (11:55 +0100)
committerbelen-pruvost-sonarsource <belen.pruvost@sonarsource.com>
Mon, 28 Feb 2022 11:27:37 +0000 (12:27 +0100)
.github/workflows/release.yml

index 0a52753f099185f8f75070d937fe737aa3952f77..83909c7735ffd5ad0199be50c727c60d8a0972ee 100644 (file)
@@ -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: