Skip to content

Commit

Permalink
Fix release wokflow promotion config (#80)
Browse files Browse the repository at this point in the history
* Fix release wokflow promotion config

* Use release workflow v4 for maven central sync
  • Loading branch information
tomverin authored Apr 12, 2022
1 parent 15747f7 commit 63a8685
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 63a8685

Please sign in to comment.