SQSCANGHA-87 Fix the new version in version update (#182)
This commit is contained in:
committed by
Julien HENRY
parent
961628671d
commit
1474b34972
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
|
||||||
|
|||||||
Reference in New Issue
Block a user