mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[CI] Use Github error messages
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
1726590f14
commit
47f4ce2ffe
6
.github/workflows/charts-lint-test.yaml
vendored
6
.github/workflows/charts-lint-test.yaml
vendored
@ -123,20 +123,20 @@ jobs:
|
|||||||
case $TYPE in
|
case $TYPE in
|
||||||
stable)
|
stable)
|
||||||
if [[ ${{ steps.version-parse.outputs.major }} -lt 1 ]]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
incubator)
|
incubator)
|
||||||
if [[ ${{ steps.version-parse.outputs.major }} -gt 0 ]]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Unhandled chart type: $TYPE"
|
echo "::error file=${{ matrix.chart }}::Unhandled chart type: $TYPE"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user