From 81e7b21e6bec757398fdb4074e085799ee5c795c Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 1 Aug 2024 15:06:59 +0100 Subject: [PATCH] [CI] [GHA] Get VCPKG version from repository (#25862) ### Tickets: - *132496* --- .github/workflows/android_arm64.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml index 25081433f48f10..9d39a4d2274e07 100644 --- a/.github/workflows/android_arm64.yml +++ b/.github/workflows/android_arm64.yml @@ -101,6 +101,9 @@ jobs: with: path: 'openvino' + - name: Get VCPKG version and put it into GitHub ENV + run: echo VCPKG_VERSION=$(cat ${OPENVINO_REPO}/vcpkg.json | python3 -c "import sys, json; print(json.load(sys.stdin)['builtin-baseline'])") >> $GITHUB_ENV + - name: Init submodules for non vcpkg dependencies run: | pushd ${OPENVINO_REPO} @@ -115,8 +118,7 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: repository: 'microsoft/vcpkg' - # Keep in sync with /vcpkg.json - ref: '7ba0ba7334c3346e7eee1e049ba85da193a8d821' + ref: ${{ env.VCPKG_VERSION }} path: 'vcpkg' fetch-depth: '0'