Skip to content

Commit 0dfbc54

Browse files
committed
try fix deploy
1 parent e08c757 commit 0dfbc54

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ jobs:
4242
- name: Setup .NET
4343
uses: actions/setup-dotnet@v5
4444
- name: Create NetFramework Release
45-
run: dotnet publish ${{ env.TOOL_PROJ_PATH }} --configuration Release -f net481 --output ./releases/net481 /p:DebugType=None /p:DebugSymbols=false
45+
# use build for .NET Framework to enusre external updatere .EXE is included
46+
run: dotnet build ${{ env.TOOL_PROJ_PATH }} --configuration Release -f net481 --output ./releases/net481 /p:DebugType=None /p:DebugSymbols=false
4647
- name: Create Net Core Release
48+
# use publish for .NET Core
4749
run: dotnet publish ${{ env.TOOL_PROJ_PATH }} --configuration Release -f net10.0 --output ./releases/net10.0 /p:DebugType=None /p:DebugSymbols=false
4850
- name: Upload a Build Artifact
4951
uses: actions/upload-artifact@v5

src/ModVerify.CliApp/ModVerify.CliApp.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@
7878
</ItemGroup>
7979

8080
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
81-
<CosturaRemoveCopyLocalFilesToPublish Condition="$(TargetFramework) == 'net481'">
82-
false
83-
</CosturaRemoveCopyLocalFilesToPublish>
8481
<WeaverConfiguration>
8582
<Weavers>
8683
<Costura IncludeDebugSymbols="false" IgnoreSatelliteAssemblies="true" />

0 commit comments

Comments
 (0)