File tree Expand file tree Collapse file tree 3 files changed +33
-11
lines changed
InjectedEComRepair/Properties/PublishProfiles Expand file tree Collapse file tree 3 files changed +33
-11
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,24 @@ jobs:
1414 - name : Setup .NET Core
1515 uses : actions/setup-dotnet@v1
1616 with :
17- dotnet-version : 3.1.101
17+ dotnet-version : 3.1.x
1818 - name : Install dependencies
1919 run : dotnet restore
2020 - name : Build
2121 run : dotnet build --configuration Release --no-restore
22- - name : Package
22+ - name : Package (win-x64)
2323 run : |
24- dotnet publish --configuration Release --framework netcoreapp3.1 -p:PublishProfile=Properties/PublishProfiles/netcoreapp3.1.pubxml
25- - name : Upload the package built on netcoreapp3.1 framework
24+ dotnet publish --configuration Release --framework netcoreapp3.1 -p:PublishProfile=Properties/PublishProfiles/netcoreapp3.1-win-x64 .pubxml
25+ - name : Upload (win-x64)
2626 uses : actions/upload-artifact@v2
2727 with :
28- name : netcoreapp3.1
29- path : InjectedEComRepair/publish/netcoreapp3.1
28+ name : netcoreapp3.1-win-x64
29+ path : InjectedEComRepair/publish/netcoreapp3.1-win-x64
30+ - name : Package (win-x86)
31+ run : |
32+ dotnet publish --configuration Release --framework netcoreapp3.1 -p:PublishProfile=Properties/PublishProfiles/netcoreapp3.1-win-x86.pubxml
33+ - name : Upload (win-x86)
34+ uses : actions/upload-artifact@v2
35+ with :
36+ name : netcoreapp3.1-win-x86
37+ path : InjectedEComRepair/publish/netcoreapp3.1-win-x86
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!--
3- https://go.microsoft.com/fwlink/?LinkID=208121.
4- -->
5- <Project ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2+ <Project >
63 <PropertyGroup >
74 <PublishProtocol >FileSystem</PublishProtocol >
85 <Configuration >Release</Configuration >
96 <Platform >Any CPU</Platform >
107 <TargetFramework >netcoreapp3.1</TargetFramework >
11- <PublishDir >publish\netcoreapp3.1\</PublishDir >
8+ <PublishDir >publish\netcoreapp3.1-win-x64 \</PublishDir >
129 <SelfContained >false</SelfContained >
10+ <RuntimeIdentifier >win-x64</RuntimeIdentifier >
11+ <PublishSingleFile >false</PublishSingleFile >
12+ <PublishReadyToRun >false</PublishReadyToRun >
1313 </PropertyGroup >
1414</Project >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project >
3+ <PropertyGroup >
4+ <PublishProtocol >FileSystem</PublishProtocol >
5+ <Configuration >Release</Configuration >
6+ <Platform >Any CPU</Platform >
7+ <TargetFramework >netcoreapp3.1</TargetFramework >
8+ <PublishDir >publish\netcoreapp3.1-win-x86\</PublishDir >
9+ <SelfContained >false</SelfContained >
10+ <RuntimeIdentifier >win-x86</RuntimeIdentifier >
11+ <PublishSingleFile >false</PublishSingleFile >
12+ <PublishReadyToRun >false</PublishReadyToRun >
13+ </PropertyGroup >
14+ </Project >
You can’t perform that action at this time.
0 commit comments