Skip to content

Commit 7cfc186

Browse files
authored
[GHA] Set build id before the build step (openvinotoolkit#29193)
### Details: - Set build id properly to use in the provider later ### Tickets: - *ticket-id*
1 parent 1ea03e5 commit 7cfc186

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/mac.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,18 @@ jobs:
152152
restore-keys: |
153153
${{ runner.os }}-${{ runner.arch }}-main
154154
155+
- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
156+
id: create_manifest
157+
uses: ./openvino/.github/actions/create_manifest
158+
with:
159+
repos: |
160+
${{ env.OPENVINO_REPO }}
161+
${{ env.OPENVINO_CONTRIB_REPO }}
162+
product_type: ${{ env.PRODUCT_TYPE }}
163+
target_arch: ${{ runner.arch }}
164+
build_type: 'release'
165+
save_to: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
166+
155167
- name: CMake configure
156168
run: |
157169
cmake \
@@ -234,18 +246,6 @@ jobs:
234246
version: ${{ env.PYTHON_VERSION }}
235247
should-setup-pip-paths: 'false'
236248
self-hosted-runner: 'false'
237-
238-
- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG
239-
id: create_manifest
240-
uses: ./openvino/.github/actions/create_manifest
241-
with:
242-
repos: |
243-
${{ env.OPENVINO_REPO }}
244-
${{ env.OPENVINO_CONTRIB_REPO }}
245-
product_type: ${{ env.PRODUCT_TYPE }}
246-
target_arch: ${{ runner.arch }}
247-
build_type: 'release'
248-
save_to: ${{ github.workspace }}/${{ env.MANIFEST_FILE }}
249249

250250
- name: Cmake & Build - OpenVINO Contrib
251251
run: |

0 commit comments

Comments
 (0)