Skip to content

Commit 18e5900

Browse files
authored
Merge pull request #13 from AzureCosmosDB/develop
Updates based on testing
2 parents 449f7e7 + cab83b6 commit 18e5900

File tree

129 files changed

+482
-1850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+482
-1850
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
name: build-with-plugins
2+
description: Build desktop binaries
3+
inputs:
4+
platform:
5+
description: General target platform name (windows)
6+
required: true
7+
platform-short:
8+
description: General target platform short name (win)
9+
required: true
10+
runtime:
11+
description: Target platform runtime (win-x64)
12+
required: true
13+
runs:
14+
using: composite
15+
steps:
16+
- name: Build Core app package
17+
shell: bash
18+
run: |
19+
dotnet publish \
20+
Core/Cosmos.DataTransfer.Core/Cosmos.DataTransfer.Core.csproj \
21+
--configuration release \
22+
--output ${{ inputs.platform-short }} \
23+
--self-contained true \
24+
--runtime ${{ inputs.runtime }} \
25+
-p:PublishSingleFile=true \
26+
-p:DebugType=embedded \
27+
-p:EnableCompressionInSingleFile=true \
28+
-p:PublishReadyToRun=false \
29+
-p:PublishTrimmed=false \
30+
-p:Version=0.0.${{ github.run_number }}
31+
- name: Build Cosmos Extension
32+
shell: bash
33+
run: |
34+
dotnet publish \
35+
Extensions/Cosmos/Cosmos.DataTransfer.CosmosExtension/Cosmos.DataTransfer.CosmosExtension.csproj \
36+
--configuration release \
37+
--output ${{ inputs.platform-short }}/Extensions \
38+
--self-contained false \
39+
--runtime ${{ inputs.runtime }} \
40+
-p:PublishSingleFile=false \
41+
-p:DebugType=embedded \
42+
-p:EnableCompressionInSingleFile=true \
43+
-p:PublishReadyToRun=false \
44+
-p:PublishTrimmed=false \
45+
-p:Version=0.0.${{ github.run_number }}
46+
- name: Build JSON Extension
47+
shell: bash
48+
run: |
49+
dotnet publish \
50+
Extensions/Json/Cosmos.DataTransfer.JsonExtension/Cosmos.DataTransfer.JsonExtension.csproj \
51+
--configuration release \
52+
--output ${{ inputs.platform-short }}/Extensions \
53+
--self-contained false \
54+
--runtime ${{ inputs.runtime }} \
55+
-p:PublishSingleFile=false \
56+
-p:DebugType=embedded \
57+
-p:EnableCompressionInSingleFile=true \
58+
-p:PublishReadyToRun=false \
59+
-p:PublishTrimmed=false \
60+
-p:Version=0.0.${{ github.run_number }}
61+
- name: Build Azure Table Extension
62+
shell: bash
63+
run: |
64+
dotnet publish \
65+
Extensions/AzureTableAPI/Cosmos.DataTransfer.AzureTableAPIExtension/Cosmos.DataTransfer.AzureTableAPIExtension.csproj \
66+
--configuration release \
67+
--output ${{ inputs.platform-short }}/Extensions \
68+
--self-contained false \
69+
--runtime ${{ inputs.runtime }} \
70+
-p:PublishSingleFile=false \
71+
-p:DebugType=embedded \
72+
-p:EnableCompressionInSingleFile=true \
73+
-p:PublishReadyToRun=false \
74+
-p:PublishTrimmed=false \
75+
-p:Version=0.0.${{ github.run_number }}
76+
- name: Build Mongo Extension
77+
shell: bash
78+
run: |
79+
dotnet publish \
80+
Extensions/Mongo/Cosmos.DataTransfer.MongoExtension/Cosmos.DataTransfer.MongoExtension.csproj \
81+
--configuration release \
82+
--output ${{ inputs.platform-short }}/Extensions \
83+
--self-contained false \
84+
--runtime ${{ inputs.runtime }} \
85+
-p:PublishSingleFile=false \
86+
-p:DebugType=embedded \
87+
-p:EnableCompressionInSingleFile=true \
88+
-p:PublishReadyToRun=false \
89+
-p:PublishTrimmed=false \
90+
-p:Version=0.0.${{ github.run_number }}
91+
- name: Build SQL Server Extension
92+
shell: bash
93+
run: |
94+
dotnet publish \
95+
Extensions/SqlServer/Cosmos.DataTransfer.SqlServerExtension/Cosmos.DataTransfer.SqlServerExtension.csproj \
96+
--configuration release \
97+
--output ${{ inputs.platform-short }}/Extensions \
98+
--self-contained false \
99+
--runtime ${{ inputs.runtime }} \
100+
-p:PublishSingleFile=false \
101+
-p:DebugType=embedded \
102+
-p:EnableCompressionInSingleFile=true \
103+
-p:PublishReadyToRun=false \
104+
-p:PublishTrimmed=false \
105+
-p:Version=0.0.${{ github.run_number }}
106+
- name: Upload package
107+
uses: actions/upload-artifact@v3
108+
with:
109+
name: ${{ inputs.platform }}-package
110+
path: ${{ inputs.platform-short }}/

.github/workflows/dotnet-build-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
uses: actions/upload-artifact@v3
2929
with:
3030
name: debug-build
31-
path: /home/runner/work/azure-documentdb-datamigrationtool/azure-documentdb-datamigrationtool/Core/Microsoft.DataTransfer.Core/bin/Debug/net6.0 #path/to/artifact/ # or path/to/artifact
31+
path: /home/runner/work/azure-documentdb-datamigrationtool/azure-documentdb-datamigrationtool/Core/Cosmos.DataTransfer.Core/bin/Debug/net6.0 #path/to/artifact/ # or path/to/artifact

0 commit comments

Comments
 (0)