Added compare skip.
This commit is contained in:
@@ -42,6 +42,10 @@ inputs:
|
||||
description: "Password or ApiKey of the nuget repository to search."
|
||||
required: true
|
||||
default: ${{ github.token }}
|
||||
skipCompare:
|
||||
description: "Skip in-depth decompilation comparison."
|
||||
required: true
|
||||
default: "false"
|
||||
outputs:
|
||||
nupkg:
|
||||
description: "The generated output .nupkg file."
|
||||
@@ -102,7 +106,7 @@ runs:
|
||||
uses: act/common/nuget/nuget-compare-version@master
|
||||
with:
|
||||
lhs: ${{ steps.package.outputs.nupkg }}
|
||||
version: ${{ steps.nuget.outputs.latestVersion }}
|
||||
version: ${{ steps.nuget.outputs.latestVersion && inputs.skipCompare == "false" }}
|
||||
name: ${{ inputs.name }}
|
||||
username: ${{ inputs.username }}
|
||||
password: ${{ inputs.password }}
|
||||
|
||||
Reference in New Issue
Block a user