From fc165dcd055301b9ef8724fc8258da2109d8faee Mon Sep 17 00:00:00 2001 From: June Rhodes Date: Thu, 31 Oct 2024 18:35:05 +1100 Subject: [PATCH] Skip creation of nupkg files when building executables --- .github/workflows/uet.yml | 8 ++++++++ UET/Lib/Common.Build.props | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/uet.yml b/.github/workflows/uet.yml index 9b093114..1bac7761 100644 --- a/.github/workflows/uet.yml +++ b/.github/workflows/uet.yml @@ -211,6 +211,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=win-x64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/Redpoint.Uefs.Daemon/Redpoint.Uefs.Daemon.csproj @@ -272,6 +273,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=osx-arm64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/Redpoint.Uefs.Daemon/Redpoint.Uefs.Daemon.csproj @@ -317,6 +319,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=win-x64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet.shim/uet.shim.csproj @@ -362,6 +365,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=osx-arm64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet.shim/uet.shim.csproj @@ -407,6 +411,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=win-x64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet/uet.csproj @@ -452,6 +457,7 @@ jobs: -t:Publish ` -p:RuntimeIdentifier=osx-arm64 ` -p:Configuration=Release ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet/uet.csproj @@ -609,6 +615,7 @@ jobs: -p:RuntimeIdentifier=win-x64 ` -p:Configuration=Release ` -p:EmbeddingCrossPlatform=true ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet/uet.csproj @@ -665,6 +672,7 @@ jobs: -p:RuntimeIdentifier=osx-arm64 ` -p:Configuration=Release ` -p:EmbeddingCrossPlatform=true ` + -p:UetSkipNuGetPackaging=true ` "-p:BaseUetVersion=${env:UET_PACKAGE_VERSION}" ` "-p:PackageVersion=${env:UET_PACKAGE_VERSION}" ` UET/uet/uet.csproj diff --git a/UET/Lib/Common.Build.props b/UET/Lib/Common.Build.props index 2d370652..b45c76f7 100644 --- a/UET/Lib/Common.Build.props +++ b/UET/Lib/Common.Build.props @@ -7,6 +7,10 @@ $(MSBuildThisFileDirectory)../Redpoint.Logging.Mac/bin;$(MSBuildThisFileDirectory)../Redpoint.AutoDiscovery/bin/$(Configuration) + + false + + true true