From 432bf357e4b3164628205964b6fa61a3ea35ce10 Mon Sep 17 00:00:00 2001 From: John Wason Date: Thu, 18 Jan 2024 01:38:38 -0500 Subject: [PATCH] Fix disable cache for vcpkg binarycache --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c32c1ae..a87fa56 100644 --- a/action.yml +++ b/action.yml @@ -136,7 +136,7 @@ runs: env: VCPKG_ROOT: "${{ github.workspace }}/vcpkg" - name: Export GitHub Actions cache environment variables - if: inputs.github-binarycache == 'true' || inputs.github-binarycache == true + if: (inputs.disable_cache != 'true' && inputs.disable_cache != true) && (inputs.github-binarycache == 'true' || inputs.github-binarycache == true) uses: actions/github-script@v6 with: script: |