diff --git a/dotnet/dotnet-pack-and-compare/action.yaml b/dotnet/dotnet-pack-and-compare/action.yaml index 0ed1930..d9ced8b 100644 --- a/dotnet/dotnet-pack-and-compare/action.yaml +++ b/dotnet/dotnet-pack-and-compare/action.yaml @@ -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 }}