From 708270ebb0b80fc2f7bba09892de2c0c430fada5 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Fri, 10 Jan 2025 20:14:39 +0100 Subject: [PATCH] Pack nugets as a separate step --- .github/workflows/build-ilspy.yml | 7 +++++++ .../ICSharpCode.BamlDecompiler.csproj | 1 - ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj | 1 - ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj | 1 - 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index d596d8fcb5..71b7e0e1ba 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -103,6 +103,13 @@ jobs: if: matrix.configuration == 'release' run: 7z a -tzip $env:StagingDirectory\ILSpy_binaries_arm64.zip .\ILSpy\bin\Release\net8.0-windows\win-arm64\publish\fwdependent\* + - name: Pack NuGets + if: matrix.configuration == 'release' + run: | + dotnet pack ICSharpCode.Decompiler --no-restore + dotnet pack ICSharpCode.BamlDecompiler --no-restore + dotnet pack ICSharpCode.ILSpyX --no-restore + - name: Build Installer (x64 and arm64, framework-dependent) if: matrix.configuration == 'release' run: | diff --git a/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj b/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj index 88ad5d9bea..5bee31b6c7 100644 --- a/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj +++ b/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj @@ -31,7 +31,6 @@ C# Decompiler ILSpy true - true embedded true true diff --git a/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj b/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj index 7ceac4f71a..fd5f6b69e3 100644 --- a/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj +++ b/ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj @@ -35,7 +35,6 @@ 1701;1702;1591;1573 nullable - true embedded true true diff --git a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj index d7d4dae98e..3bcd8c8e15 100644 --- a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj +++ b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj @@ -34,7 +34,6 @@ C# Decompiler ILSpy true - true embedded true true