Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GHA] Set build id before the build step (#29193)

Mikhail Ryzhov7cfc186797a8
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 6d67c3f7af0..97b6a02533e 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -152,6 +152,18 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-main
+ - name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
+ id: create_manifest
+ uses: ./openvino/.github/actions/create_manifest
+ with:
+ repos: |
+ ${{ env.OPENVINO_REPO }}
+ ${{ env.OPENVINO_CONTRIB_REPO }}
+ product_type: ${{ env.PRODUCT_TYPE }}
+ target_arch: ${{ runner.arch }}
+ build_type: 'release'
+ save_to: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
+
- name: CMake configure
run: |
cmake \
@@ -234,18 +246,6 @@ jobs:
version: ${{ env.PYTHON_VERSION }}
should-setup-pip-paths: 'false'
self-hosted-runner: 'false'
-
- - name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
- id: create_manifest
- uses: ./openvino/.github/actions/create_manifest
- with:
- repos: |
- ${{ env.OPENVINO_REPO }}
- ${{ env.OPENVINO_CONTRIB_REPO }}
- product_type: ${{ env.PRODUCT_TYPE }}
- target_arch: ${{ runner.arch }}
- build_type: 'release'
- save_to: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
- name: Cmake & Build - OpenVINO Contrib
run: |