Skip to content

Commit f47bfc2

Browse files
authored
[GHA] OV provider: fixed upload condition for JS artifacts (#28906)
### Details: - fixed upload condition for JS artifacts ### Tickets: - *ticket-id*
1 parent 38791c6 commit f47bfc2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/job_build_windows.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,16 @@ jobs:
312312

313313
- name: Store artifacts to a shared drive
314314
id: store_artifacts
315-
if: ${{ always() }}
315+
if: always()
316316
uses: ./openvino/.github/actions/store_artifacts
317317
with:
318318
artifacts: |
319319
${{ env.BUILD_DIR }}/openvino_package.zip
320320
${{ env.BUILD_DIR }}/openvino_tests.zip
321321
${{ env.MANIFEST_PATH }}
322-
${{ env.STORE_JS == 'true' && format('{0}/openvino_js_package.zip', env.BUILD_DIR) || '' }}
322+
${{ fromJSON(inputs.affected-components).JS_API && format('{0}/openvino_js_package.zip', env.BUILD_DIR) || '' }}
323323
${{ env.STORE_WHEELS == 'true' && format('{0}/wheels', env.INSTALL_WHEELS_DIR) || '' }}
324324
storage_dir: ${{ env.PRODUCT_TYPE }}
325325
storage_root: ${{ env.ARTIFACTS_SHARE }}
326326
env:
327-
STORE_WHEELS: ${{ inputs.build-type != 'Debug' }}
328-
STORE_JS: ${{ fromJSON(inputs.affected-components).JS_API && inputs.build-js }}
327+
STORE_WHEELS: ${{ inputs.build-type != 'Debug' }}

0 commit comments

Comments
 (0)