From 50bfb1278e6557b2173bdf9721d782490d73cf66 Mon Sep 17 00:00:00 2001 From: Scion Date: Tue, 1 Jul 2025 15:51:26 -0700 Subject: [PATCH] Added compare skip. --- dotnet/dotnet-pack-and-compare/action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }}