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
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: