Skip to content

Commit

Permalink
Skip creation of nupkg files when building executables
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que committed Oct 31, 2024
1 parent b29cf6e commit e2831c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/uet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,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.Client/Redpoint.Uefs.Client.csproj
Expand All @@ -211,6 +212,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
Expand Down Expand Up @@ -256,6 +258,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.Client/Redpoint.Uefs.Client.csproj
Expand All @@ -272,6 +275,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
Expand Down Expand Up @@ -317,6 +321,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
Expand Down Expand Up @@ -362,6 +367,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
Expand Down Expand Up @@ -407,6 +413,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
Expand Down Expand Up @@ -452,6 +459,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
Expand Down Expand Up @@ -609,6 +617,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
Expand Down Expand Up @@ -665,6 +674,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
Expand Down
4 changes: 4 additions & 0 deletions UET/Lib/Common.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
<RestoreAdditionalProjectSources>$(MSBuildThisFileDirectory)../Redpoint.Logging.Mac/bin;$(MSBuildThisFileDirectory)../Redpoint.AutoDiscovery/bin/$(Configuration)</RestoreAdditionalProjectSources>
</PropertyGroup>

<PropertyGroup>
<IsPackable Condition="'$(UetSkipNuGetPackaging)' == 'true'">false</IsPackable>
</PropertyGroup>

<PropertyGroup>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsTrimmable>
<EnableTrimAnalyzer Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</EnableTrimAnalyzer>
Expand Down

0 comments on commit e2831c7

Please sign in to comment.