Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/actions/check-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ inputs:

diff-search:
required: false
type: boolean
default: false
description: Use git diff to check for version changes instead of comparing with external URL
default: "false"
description: Use git diff to check for version changes instead of comparing with external URL (pass 'true' or 'false' as string)

outputs:
version:
Expand All @@ -34,7 +33,7 @@ runs:
uses: EndBug/version-check@5102328418c0130d66ca712d755c303e93368ce2 # v2.1.7
id: version
with:
static-checking: ${{ inputs.diff-search == false && 'localIsNew' || '' }}
static-checking: ${{ inputs.diff-search != 'true' && 'localIsNew' || '' }}
diff-search: ${{ inputs.diff-search }}
file-url: ${{ inputs.file-url }}
file-name: ${{ inputs.file-name }}
Expand Down
Loading