Skip to content

Commit

Permalink
Add support for 'continue-on-error' input in publish action (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Jan 15, 2025
1 parent 8c46022 commit a0c1284
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
Expand Down

0 comments on commit a0c1284

Please sign in to comment.