johnwason / vcpkg-action

Simple vcpkg action to build and cache packages
17 stars 3 forks source link

Use tee for dry run so output is visible in logs #16

Closed johnwason closed 1 year ago

johnwason commented 1 year ago

The output of vcpkg --dry-run was redirected to a file to generate the file used for the cache key. Because the file was redirected, errors were not visible in the log. This pull request uses tee instead, so the output is stored in the file and also shown in the log.