We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3886c5a commit 5b06c0eCopy full SHA for 5b06c0e
2 files changed
.github/workflows/dev.yml
@@ -25,7 +25,7 @@ jobs:
25
run: nuget restore OpenHardwareMonitor.sln
26
27
- name: Build
28
- run: msbuild OpenHardwareMonitor.sln -p:Configuration=Debug -m
+ run: msbuild OpenHardwareMonitor.sln -p:Configuration=Release -m
29
30
- name: Publish build
31
uses: actions/upload-artifact@v4
OpenHardwareMonitorLib/OpenHardwareMonitorLib.csproj
@@ -36,7 +36,7 @@
36
<ItemGroup>
37
<Reference Include="System.Management" />
38
</ItemGroup>
39
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
+ <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)' == 'Release'">
40
<Exec Command="for %%f in ($(OutDir)\*) do if not %%~xf==.dll del /S /Q "%%f"" />
41
</Target>
42
</Project>
0 commit comments