Skip to content

Commit

Permalink
Pack with dotnet build
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 20, 2023
1 parent 8ab81bd commit 302c3c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
dotnet-version: '7'
- name: Restore, build, and test
run: |
msbuild -r -p:Configuration=Release
msbuild -r -t:pack -p:Configuration=Release
dotnet build -c Release
- name: Smoke test the validator outside the build dir
run: |
cp _build/KSPMMCfgValidator/Release/bin/net48/Repack/KSPMMCfgValidator.exe .
Expand Down
1 change: 1 addition & 0 deletions KSPMMCfgValidator/KSPMMCfgValidator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<DocumentationFile>$(BaseIntermediateOutputPath)$(AssemblyName).xml</DocumentationFile>
<NoWarn>NU1701</NoWarn>
<CoreCompileDependsOn>PrepareResources;$(CompileDependsOn)</CoreCompileDependsOn>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down

0 comments on commit 302c3c0

Please sign in to comment.