diff --git a/helm-publish/action.yml b/helm-publish/action.yml index 6959b0a..7bd520a 100644 --- a/helm-publish/action.yml +++ b/helm-publish/action.yml @@ -45,3 +45,6 @@ runs: echo '!!!!!!' echo "File: @${RESULT_FILE} to ${{ vars.HELM_REPOSITORY }}/api/charts?force" curl "${{ vars.HELM_REPOSITORY }}/api/charts?force" --data-binary "@${RESULT_FILE}" -v + if [ $? -ne 0 ] then + exit 1 + fi