@@ -10,6 +10,9 @@ inputs:
10
10
runtime :
11
11
description : Target platform runtime (win-x64)
12
12
required : true
13
+ build-version :
14
+ description : Build or release version (0.0.1)
15
+ required : true
13
16
runs :
14
17
using : composite
15
18
steps :
27
30
-p:EnableCompressionInSingleFile=true \
28
31
-p:PublishReadyToRun=false \
29
32
-p:PublishTrimmed=false \
30
- -p:Version=0.0. ${{ github.run_number }}
33
+ -p:Version=${{ inputs.build-version }}
31
34
- name : Build Cosmos Extension
32
35
shell : bash
33
36
run : |
42
45
-p:EnableCompressionInSingleFile=true \
43
46
-p:PublishReadyToRun=false \
44
47
-p:PublishTrimmed=false \
45
- -p:Version=0.0. ${{ github.run_number }}
48
+ -p:Version=${{ inputs.build-version }}
46
49
- name : Build JSON Extension
47
50
shell : bash
48
51
run : |
57
60
-p:EnableCompressionInSingleFile=true \
58
61
-p:PublishReadyToRun=false \
59
62
-p:PublishTrimmed=false \
60
- -p:Version=0.0. ${{ github.run_number }}
63
+ -p:Version=${{ inputs.build-version }}
61
64
- name : Build Azure Table Extension
62
65
shell : bash
63
66
run : |
72
75
-p:EnableCompressionInSingleFile=true \
73
76
-p:PublishReadyToRun=false \
74
77
-p:PublishTrimmed=false \
75
- -p:Version=0.0. ${{ github.run_number }}
78
+ -p:Version=${{ inputs.build-version }}
76
79
- name : Build Mongo Extension
77
80
shell : bash
78
81
run : |
87
90
-p:EnableCompressionInSingleFile=true \
88
91
-p:PublishReadyToRun=false \
89
92
-p:PublishTrimmed=false \
90
- -p:Version=0.0. ${{ github.run_number }}
93
+ -p:Version=${{ inputs.build-version }}
91
94
- name : Build SQL Server Extension
92
95
shell : bash
93
96
run : |
@@ -102,7 +105,37 @@ runs:
102
105
-p:EnableCompressionInSingleFile=true \
103
106
-p:PublishReadyToRun=false \
104
107
-p:PublishTrimmed=false \
105
- -p:Version=0.0.${{ github.run_number }}
108
+ -p:Version=${{ inputs.build-version }}
109
+ - name : Build Parquet Extension
110
+ shell : bash
111
+ run : |
112
+ dotnet publish \
113
+ Extensions/Parquet/Cosmos.DataTransfer.ParquetExtension/Cosmos.DataTransfer.ParquetExtension.csproj \
114
+ --configuration Release \
115
+ --output ${{ inputs.platform-short }}/Extensions \
116
+ --self-contained false \
117
+ --runtime ${{ inputs.runtime }} \
118
+ -p:PublishSingleFile=false \
119
+ -p:DebugType=embedded \
120
+ -p:EnableCompressionInSingleFile=true \
121
+ -p:PublishReadyToRun=false \
122
+ -p:PublishTrimmed=false \
123
+ -p:Version=${{ inputs.build-version }}
124
+ - name : Build Cognitive Search Extension
125
+ shell : bash
126
+ run : |
127
+ dotnet publish \
128
+ Extensions/CognitiveSearch/Cosmos.DataTransfer.CognitiveSearchExtension/Cosmos.DataTransfer.CognitiveSearchExtension.csproj \
129
+ --configuration Release \
130
+ --output ${{ inputs.platform-short }}/Extensions \
131
+ --self-contained false \
132
+ --runtime ${{ inputs.runtime }} \
133
+ -p:PublishSingleFile=false \
134
+ -p:DebugType=embedded \
135
+ -p:EnableCompressionInSingleFile=true \
136
+ -p:PublishReadyToRun=false \
137
+ -p:PublishTrimmed=false \
138
+ -p:Version=${{ inputs.build-version }}
106
139
- name : Upload package
107
140
uses : actions/upload-artifact@v3
108
141
with :
0 commit comments