From a0c1284595e9cf428c009a5791697477ff9a9b9c Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 15 Jan 2025 14:13:16 +0100 Subject: [PATCH] Add support for 'continue-on-error' input in publish action (#210) --- actions/publish/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions/publish/action.yml b/actions/publish/action.yml index 1252dd60..3aeed175 100644 --- a/actions/publish/action.yml +++ b/actions/publish/action.yml @@ -14,6 +14,10 @@ inputs: strict: description: 'Treat warnings as errors' required: false + continue-on-error: + description: 'Treat warnings as errors' + required: false + default: "false" runs: using: "composite" @@ -23,6 +27,7 @@ runs: run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT' - name: Build documentation uses: elastic/docs-builder@main + continue-on-error: ${{ inputs.continue-on-error == 'true' }} with: prefix: '${{ steps.repo-basename.outputs.value }}' strict: ${{ inputs.strict }}