Skip to content

Version 1.0

Choose a tag to compare

@github-actions github-actions released this 14 Jun 05:42
· 102 commits to master since this release

Version 1

Initial release of vcpkg GitHub Packages Cache.

This release provides a GitHub Action for setting up vcpkg binary caching through GitHub Packages NuGet feeds.

Highlights

  • Root setup action for Marketplace use:
    LegalizeAdulthood/vcpkg-github-cache@v1
  • Optional explicit setup spelling:
    LegalizeAdulthood/vcpkg-github-cache/setup@v1
  • Analyzer sub-action for diagnostics:
    LegalizeAdulthood/vcpkg-github-cache/analyze@v1
  • Supports the normal workflow GITHUB_TOKEN path and explicit PAT mode.
  • Exports VCPKG_BINARY_SOURCES for later workflow steps.
  • Can bootstrap vcpkg, fetch the vcpkg-selected NuGet tool, and install Mono when needed on Unix runners.
  • Reports cache status, restore probes, upload failures, and package permission problems.
  • Can upload detailed diagnostics artifacts when debug or trace output is enabled.

Known Limits

GitHub Packages permissions are package-level, not version-level. If a NuGet package was created by another repository or token, this action can identify packages where the current workflow repository lacks write access, but GitHub currently requires those package permissions to be fixed in package settings.

The analyzer links denied package rows to the package settings page to make that manual permission repair easier.

Public GitHub Packages NuGet packages can still require authentication for restore. The default GITHUB_TOKEN path is preferred for normal repository workflows; PAT mode is available for cross-repository or organization feeds but can interact differently with package visibility and quota.

Full Changelog: https://github.com/LegalizeAdulthood/vcpkg-github-cache/commits/v1.0.0