From 63a86855e56bf51e814280a245611f6a0440a70c Mon Sep 17 00:00:00 2001 From: tomverin Date: Tue, 12 Apr 2022 11:45:22 +0200 Subject: [PATCH] Fix release wokflow promotion config (#80) * Fix release wokflow promotion config * Use release workflow v4 for maven central sync --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71827d6..33c16dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - name: Setup JFrog CLI uses: jfrog/setup-jfrog-cli@48d7925d2c5cc5045aa90f855f398b061dcf64ee # tag=v2 env: - JF_ARTIFAVTORY_1: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER }} + JF_ARTIFACTORY_1: ${{ secrets.REPOX_CLI_CONFIG_BUILD_PROMOTER }} - name: Get the version id: get_version run: | @@ -31,7 +31,7 @@ jobs: - name: Setup JFrog CLI uses: jfrog/setup-jfrog-cli@48d7925d2c5cc5045aa90f855f398b061dcf64ee # tag=v2 env: - JF_ARTIFAVTORY_1: ${{ secrets.REPOX_CLI_CONFIG_PUBLIC_READER }} + JF_ARTIFACTORY_1: ${{ secrets.REPOX_CLI_CONFIG_PUBLIC_READER }} - name: Get the version id: get_version run: | @@ -41,14 +41,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: