You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace Azure Blob Storage with GitHub Actions native caching
Add vcpkg-cache action for binary caching support
Configure VCPKG_BINARY_SOURCES to use GHA cache
Simplify caching by removing Azure secrets dependency
Diagram Walkthrough
flowchart LR
A["Azure Blob Storage<br/>with SAS Token"] -->|Replace| B["GitHub Actions<br/>Native Cache"]
B --> C["vcpkg-cache Action"]
C --> D["Local Cache Files"]
E["VCPKG_BINARY_SOURCES<br/>Environment Variable"] -->|Updated| D
Loading
File Walkthrough
Relevant files
Enhancement
ResInsightWithCache.yml
Migrate vcpkg caching to GitHub Actions native
.github/workflows/ResInsightWithCache.yml
Added VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" to workflow env for GHA caching
Integrated TAServers/vcpkg-cache action to restore vcpkg cache with GitHub token
Updated Configure step to use local cache files instead of Azure Blob Storage
Replaced Azure SAS token logic with simpler GHA cache path reference
Added clarifying comment on VCPKG_FEATURE_FLAGS setting
Below is a summary of compliance checks for this PR:
Security Compliance
⚪
Third-party token exposure
Description: A third-party GitHub Action (TAServers/vcpkg-cache@e5c219f...) is executed with a provided secrets.GITHUB_TOKEN, which could enable token misuse/exfiltration if the action is compromised or if the workflow/job permissions are overly broad; ensure the workflow sets minimal permissions: (e.g., only what cache access requires) before passing the token to external actions. ResInsightWithCache.yml [198-204]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
This reverts commit 006a316.
PR Type
Enhancement
Description
Replace Azure Blob Storage with GitHub Actions native caching
Add vcpkg-cache action for binary caching support
Configure VCPKG_BINARY_SOURCES to use GHA cache
Simplify caching by removing Azure secrets dependency
Diagram Walkthrough
File Walkthrough
ResInsightWithCache.yml
Migrate vcpkg caching to GitHub Actions native.github/workflows/ResInsightWithCache.yml
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"to workflow envfor GHA caching
TAServers/vcpkg-cacheaction to restore vcpkg cache withGitHub token
Storage
VCPKG_FEATURE_FLAGSsetting