From c2d55d2565dd89ec742105ef93d4e96d14c71959 Mon Sep 17 00:00:00 2001 From: Raffaello Bertini Date: Sun, 10 May 2020 19:55:01 +0100 Subject: [PATCH] clean ups --- azure-pipelines/templates/dep-vcpkg-steps.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/azure-pipelines/templates/dep-vcpkg-steps.yml b/azure-pipelines/templates/dep-vcpkg-steps.yml index 6d3bb399..e68e82db 100644 --- a/azure-pipelines/templates/dep-vcpkg-steps.yml +++ b/azure-pipelines/templates/dep-vcpkg-steps.yml @@ -25,11 +25,10 @@ parameters: steps: - checkout: none -- task: Cache@2 - inputs: - key: '${{ parameters.vcpkg_key_cache }} | ${{ parameters.triplet }}' - path: "vcpkg" - cacheHitVar: CACHE_RESTORED +- template: 'vcpkg-cache-step.yml' + parameters: + vcpkg_key_cache: ${{ parameters.vcpkg_key_cache }} + triplet: ${{ parameters.triplet }} - bash: test -d vcpkg || git clone https://github.com/Microsoft/vcpkg.git displayName: clone vcpkg - script: echo "installing packages ${{ parameters.packages }}"