Skip to content

Commit

Permalink
Fix disable cache for vcpkg binarycache
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Jan 18, 2024
1 parent 6c3d4a9 commit 432bf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 432bf35

Please sign in to comment.