1
0
Nick Babcock 3 долоо хоног өмнө
parent
commit
49ecc8b2e8

+ 1 - 1
.github/workflows/release.yml

@@ -36,7 +36,7 @@ jobs:
 
     # Build the unbundled version
     - name: Build unbundled version
-      run: dotnet publish -c Release .\OhmGraphite\ --no-self-contained -p:EnableCompressionInSingleFile=false
+      run: dotnet publish -c Release .\OhmGraphite\ -p:PublishSingleFile=false
     - name: Upload unbundled artifact
       uses: actions/upload-artifact@v4
       with:

+ 1 - 1
OhmGraphite/OhmGraphite.csproj

@@ -47,7 +47,7 @@
     <PackageReference Include="InfluxDB.LineProtocol" Version="1.1.1" />
   </ItemGroup>
 
-  <Target Name="ZipOutputPath" AfterTargets="Publish" Condition="'$(SelfContained)' == 'true'">
+  <Target Name="ZipOutputPath" AfterTargets="Publish">
     <RemoveDir Directories="$(BaseOutputPath)tmp\" ContinueOnError="true" />
     <MakeDir Directories="$(BaseOutputPath)tmp\" />
     <Copy SourceFiles="$(OutputPath)\publish\OhmGraphite.exe" DestinationFolder="$(BaseOutputPath)tmp\" />