From 47f4ce2ffe372ee770c901ac5c5fed1b3fe63ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Wed, 7 Apr 2021 09:12:00 +0200 Subject: [PATCH] [CI] Use Github error messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- .github/workflows/charts-lint-test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/charts-lint-test.yaml b/.github/workflows/charts-lint-test.yaml index ba7a2ca7..117e2979 100644 --- a/.github/workflows/charts-lint-test.yaml +++ b/.github/workflows/charts-lint-test.yaml @@ -123,20 +123,20 @@ jobs: case $TYPE in stable) if [[ ${{ steps.version-parse.outputs.major }} -lt 1 ]]; then - echo "Chart version for \"$TYPE\" charts must be >= 1.0.0" + echo "::error file=${{ matrix.chart }}::Chart version for \"$TYPE\" charts must be >= 1.0.0" exit 1 fi ;; incubator) if [[ ${{ steps.version-parse.outputs.major }} -gt 0 ]]; then - echo "Chart version for \"$TYPE\" charts must be < 1.0.0" + echo "::error file=${{ matrix.chart }}::Chart version for \"$TYPE\" charts must be < 1.0.0" exit 1 fi ;; *) - echo "Unhandled chart type: $TYPE" + echo "::error file=${{ matrix.chart }}::Unhandled chart type: $TYPE" exit 1 esac fi