Skip to content

[email protected] - fixes to post-action, hash for `vcpkg-configuration.json`

Compare
Choose a tag to compare
@lukka lukka released this 30 Jan 21:48

Changes:

  • The status of the job cannot be fetched correctly hence in any way. Hence the doNotCacheOnWorkflowFailure input is dropped and the action is not trying to detect a cancelled workflow with the intent of skipping the save of the cache (useful to avoid saving a partial cache). Now the cache is saved on the post action when:

    • the run-vcpkg execution succeeded.
    • there was a cache-miss.

    Users could implement their own logic and set the RUNVCPKG_NO_CACHE environment variable in any step of the workflow to force the post action to skip saving the cache.

  • The vcpkg-configuration.json file is automatically hashed and added to the cache key whenever found side by side with the hashed vcpkg.json file.

  • Disabled vcpkg's telemetry by default. It can be overridden by defining the environment variable VCPKG_ENABLE_METRICS.