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