mirror of
https://github.com/SonarSource/sonarqube-quality-gate-action.git
synced 2026-09-23 13:38:32 +00:00
Define value for quality-gate-status output
GitHub actions yaml is invalid without the value definition. Second, the action does not return the output without this definition.
This commit is contained in:
committed by
Wouter Admiraal
parent
7a785d4d12
commit
00d36147d5
+3
-1
@@ -7,7 +7,8 @@ branding:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: $GITHUB_ACTION_PATH/script/check-quality-gate.sh ${{ inputs.scanMetadataReportFile }}
|
||||
- id: quality-gate-check
|
||||
run: $GITHUB_ACTION_PATH/script/check-quality-gate.sh ${{ inputs.scanMetadataReportFile }}
|
||||
shell: bash
|
||||
inputs:
|
||||
scanMetadataReportFile:
|
||||
@@ -18,3 +19,4 @@ outputs:
|
||||
quality-gate-status:
|
||||
description: >
|
||||
The resulting Quality Gate Status value of PASSED, WARN or FAILED
|
||||
value: ${{ steps.quality-gate-check.outputs.quality-gate-status }}
|
||||
|
||||
Reference in New Issue
Block a user