mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-12 17:31:15 +00:00
SQSCANGHA-87 Fix the new version in version update (#182)
This commit is contained in:
parent
961628671d
commit
1474b34972
1 changed files with 1 additions and 1 deletions
2
.github/workflows/version_update.yml
vendored
2
.github/workflows/version_update.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NEW_VERSION: ${{ steps.latest-version.outputs.sonar-scanner-version }}
|
NEW_VERSION: ${{ steps.latest-version.outputs.sonar-scanner-version }}
|
||||||
run: |
|
run: |
|
||||||
yq -i '.inputs.scannerVersion.default = "$NEW_VERSION"' action.yml
|
yq -i '.inputs.scannerVersion.default = strenv(NEW_VERSION)' action.yml
|
||||||
- name: "Create Pull Request for version update"
|
- name: "Create Pull Request for version update"
|
||||||
if: steps.tagged-version.outputs.sonar-scanner-version != steps.latest-version.outputs.sonar-scanner-version
|
if: steps.tagged-version.outputs.sonar-scanner-version != steps.latest-version.outputs.sonar-scanner-version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue