Skip to content

Commit a0c1284

Browse files
authored
Add support for 'continue-on-error' input in publish action (#210)
1 parent 8c46022 commit a0c1284

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

actions/publish/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ inputs:
1414
strict:
1515
description: 'Treat warnings as errors'
1616
required: false
17+
continue-on-error:
18+
description: 'Treat warnings as errors'
19+
required: false
20+
default: "false"
1721

1822
runs:
1923
using: "composite"
@@ -23,6 +27,7 @@ runs:
2327
run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT'
2428
- name: Build documentation
2529
uses: elastic/docs-builder@main
30+
continue-on-error: ${{ inputs.continue-on-error == 'true' }}
2631
with:
2732
prefix: '${{ steps.repo-basename.outputs.value }}'
2833
strict: ${{ inputs.strict }}

0 commit comments

Comments
 (0)