From c8e10436ac4452aadac3ac4065de0070e0877b39 Mon Sep 17 00:00:00 2001 From: Nathan Miller Date: Wed, 18 Oct 2023 19:50:13 -0700 Subject: [PATCH] enable GH dependency graph vcpkg integration --- .github/workflows/cmake-multi-platform.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index a0a4c0e0..2b0ebc30 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -6,12 +6,17 @@ on: branches: [ "development", "main" ] pull_request: branches: [ "development" ] + workflow_dispatch: + +permissions: + contents: write env: VCPKG_ROOT: ${{ github.workspace }}/vcpkg VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite' - # # GitHub Packages cache backend - # VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite' + # support for GH dependency graph vcpkg integration + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VCPKG_FEATURE_FLAGS: dependencygraph jobs: build: