File tree Expand file tree Collapse file tree 4 files changed +81
-1
lines changed
EIV_DataPack.Console/Properties/PublishProfiles Expand file tree Collapse file tree 4 files changed +81
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build EIV_DataPack.Console
2
+
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' **/*.md'
7
+ pull_request :
8
+ paths-ignore :
9
+ - ' **/*.md'
10
+ workflow_dispatch :
11
+ # allows manual trigger
12
+
13
+ jobs :
14
+ linux :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Setup .NET
19
+ uses : actions/setup-dotnet@v4
20
+ with :
21
+ dotnet-version : ' 8.0.x'
22
+ - name : Publish
23
+ run : dotnet publish EIV_DataPack.Console/EIV_DataPack.ConsoleApp.csproj /p:PublishProfile=ReleaseLinux
24
+ - name : Upload artifact (Linux)
25
+ uses : actions/upload-artifact@v4
26
+ with :
27
+ name : EIV_DataPack.ConsoleApp-Linux
28
+ path : Out/Linux
29
+ if-no-files-found : error
30
+
31
+ windows :
32
+ runs-on : windows-latest
33
+ steps :
34
+ - uses : actions/checkout@v4
35
+ - name : Setup .NET
36
+ uses : actions/setup-dotnet@v4
37
+ with :
38
+ dotnet-version : ' 8.0.x'
39
+ - name : Publish
40
+ run : dotnet publish EIV_DataPack.Console/EIV_DataPack.ConsoleApp.csproj /p:PublishProfile=ReleaseWin
41
+ - name : Upload artifact (Win)
42
+ uses : actions/upload-artifact@v4
43
+ with :
44
+ name : EIV_DataPack.ConsoleApp-Win
45
+ path : Out/Win
46
+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ publish/
184
184
* .azurePubxml
185
185
# Note: Comment the next line if you want to checkin your web deploy settings,
186
186
# but database connection strings (with potential passwords) will be unencrypted
187
- * .pubxml
188
187
* .publishproj
189
188
190
189
# Microsoft Azure Web App publish settings. Comment the next line if you want to
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ https://go.microsoft.com/fwlink/?LinkID=208121.
4
+ -->
5
+ <Project >
6
+ <PropertyGroup >
7
+ <Configuration >Release</Configuration >
8
+ <Platform >Any CPU</Platform >
9
+ <PublishDir >..\Out\Linux</PublishDir >
10
+ <PublishProtocol >FileSystem</PublishProtocol >
11
+ <_TargetId >Folder</_TargetId >
12
+ <TargetFramework >net8.0</TargetFramework >
13
+ <RuntimeIdentifier >linux-x64</RuntimeIdentifier >
14
+ <SelfContained >false</SelfContained >
15
+ <PublishSingleFile >true</PublishSingleFile >
16
+ </PropertyGroup >
17
+ </Project >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!--
3
+ https://go.microsoft.com/fwlink/?LinkID=208121.
4
+ -->
5
+ <Project >
6
+ <PropertyGroup >
7
+ <Configuration >Release</Configuration >
8
+ <Platform >Any CPU</Platform >
9
+ <PublishDir >..\Out\Win\</PublishDir >
10
+ <PublishProtocol >FileSystem</PublishProtocol >
11
+ <_TargetId >Folder</_TargetId >
12
+ <TargetFramework >net8.0</TargetFramework >
13
+ <RuntimeIdentifier >win-x64</RuntimeIdentifier >
14
+ <SelfContained >false</SelfContained >
15
+ <PublishSingleFile >true</PublishSingleFile >
16
+ <PublishReadyToRun >false</PublishReadyToRun >
17
+ </PropertyGroup >
18
+ </Project >
You can’t perform that action at this time.
0 commit comments