feat: support action failure on bad revision

This commit is contained in:
rlespinasse
2021-12-05 12:20:48 +01:00
committed by Romain Lespinasse
parent 353f0c732e
commit 3549754992
4 changed files with 63 additions and 4 deletions

View File

@@ -8,6 +8,10 @@ inputs:
revision:
description: "Revision to short"
required: false
continue-on-error:
description: "Don't fail the action if the git revision isn't valid"
default: "false"
required: false
branding:
icon: "crop"
color: "gray-dark"
@@ -19,3 +23,4 @@ runs:
env:
INPUT_NAME: ${{ inputs.name }}
INPUT_REVISION: ${{ inputs.revision }}
INPUT_CONTINUE_ON_ERROR: ${{ inputs.continue-on-error }}