mirror of
https://github.com/rlespinasse/shortify-git-revision.git
synced 2026-09-15 12:18:41 +00:00
feat: add short-on-error input
This commit is contained in:
committed by
Romain Lespinasse
parent
512ffd9023
commit
ef0d40cdf6
@@ -12,6 +12,10 @@ inputs:
|
||||
description: "Don't fail the action if the git revision isn't valid"
|
||||
default: "false"
|
||||
required: false
|
||||
short-on-error:
|
||||
description: "Still short it if the git revision isn't valid"
|
||||
default: "false"
|
||||
required: false
|
||||
prefix:
|
||||
description: "Value to prepend to each generated variable"
|
||||
default: ""
|
||||
@@ -32,5 +36,6 @@ runs:
|
||||
INPUT_NAME: ${{ inputs.name }}
|
||||
INPUT_REVISION: ${{ inputs.revision }}
|
||||
INPUT_CONTINUE_ON_ERROR: ${{ inputs.continue-on-error }}
|
||||
INPUT_SHORT_ON_ERROR: ${{ inputs.short-on-error }}
|
||||
INPUT_PREFIX: ${{ inputs.prefix }}
|
||||
INPUT_LENGTH: ${{ inputs.length }}
|
||||
|
||||
Reference in New Issue
Block a user