@@ -159,6 +159,16 @@ jobs:
159
159
#
160
160
# Upload build artifacts
161
161
#
162
+
163
+ - name : Pack Artifacts
164
+ run : |
165
+ $file=Get-ChildItem -Path "${{ GENAI_INSTALL_DIR }}"
166
+ $compress = @{
167
+ Path = $file
168
+ CompressionLevel = "Optimal"
169
+ DestinationPath = "${{ env.BUILD_DIR }}/${{ env.GENAI_ARCHIVE_ARTIFACT_BASE_NAME }}.zip"
170
+ }
171
+ Compress-Archive @compress
162
172
163
173
- name : Save ccache
164
174
if : always() && steps.ccache-restore.outputs.cache-hit != 'true' && github.event_name == 'push'
@@ -172,17 +182,17 @@ jobs:
172
182
uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
173
183
with :
174
184
name : genai_cpack_${{ matrix.build-type }}
175
- path : ${{ env.GENAI_INSTALL_DIR }}
185
+ path : ${{ env.BUILD_DIR }}/*.zip
176
186
if-no-files-found : ' error'
177
-
187
+
178
188
- name : Upload Tools
179
189
if : always()
180
190
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
181
191
with :
182
192
name : genai_tools_${{ matrix.build-type }}
183
193
path : ${{ env.INSTALL_TOOLS_DIR }}
184
194
if-no-files-found : ' error'
185
-
195
+
186
196
- name : Upload Tests
187
197
if : always()
188
198
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
@@ -321,17 +331,29 @@ jobs:
321
331
- /mount:/mount
322
332
- ${{ github.workspace }}:${{ github.workspace }}
323
333
env :
334
+ CPACK_PATH : ${{ github.workspace }}/ov_genai
324
335
CPACK_PACKAGE : ${{ github.workspace }}/ov_genai.zip
325
336
WHEEL_PACKAGE : ${{ github.workspace }}/wheels
326
337
MANIFEST_PATH : ${{ github.workspace }}/manifest.yml
327
338
328
339
steps :
329
- - name : Download genai package & manifest
340
+ - name : Download genai package
330
341
uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
331
342
with :
332
- pattern : " {${{ env.GENAI_ARCHIVE_ARTIFACT_BASE_NAME }}_${{ matrix.build-type }},manifest_${{ matrix.build-type }}}"
343
+ name : ${{ env.GENAI_ARCHIVE_ARTIFACT_BASE_NAME }}_${{ matrix.build-type }}
344
+ path : ${{ env.CPACK_PATH }}
345
+
346
+ - name : Pack Artifacts
347
+ run : |
348
+ pushd ${CPACK_PATH}
349
+ tar -czvf ${CPACK_PACKAGE} *
350
+ popd
351
+
352
+ - name : Download manifest
353
+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
354
+ with :
355
+ name : manifest_${{ matrix.build-type }}
333
356
path : ${{ github.workspace }}
334
- merge-multiple : true
335
357
336
358
- name : Download genai wheels
337
359
uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
0 commit comments