Skip to content

Commit

Permalink
[CI] [GHA] Get VCPKG version from repository (openvinotoolkit#25862)
Browse files Browse the repository at this point in the history
### Tickets:
 - *132496*
  • Loading branch information
akashchi authored Aug 1, 2024
1 parent 5048730 commit 81e7b21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/android_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -115,8 +118,7 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: 'microsoft/vcpkg'
# Keep in sync with <root>/vcpkg.json <builtin-baseline>
ref: '7ba0ba7334c3346e7eee1e049ba85da193a8d821'
ref: ${{ env.VCPKG_VERSION }}
path: 'vcpkg'
fetch-depth: '0'

Expand Down

0 comments on commit 81e7b21

Please sign in to comment.