Conversation
Basically, do exactly what GH did to save and restore cache with the exception being that the files are stored on GCS.
…ndling - Added comprehensive debugging and error messages throughout GCS logic - Improved verification of GCS bucket existence and file operations - Enhanced archive creation and extraction verification - Added bucket content listing for troubleshooting - Updated GCS integration tests with better diagnostics
…error handling" This reverts commit 5d2a8cd.
- Split each test into separate save and restore jobs - Changed actions to use explicit ./save and ./restore paths - This ensures post-save steps properly complete before restore attempts
- Enhanced isGCSAvailable to better document authentication methods - Made logging more consistent when using GitHub fallback cache - Added comprehensive tests for fallback scenarios - Improved testing for both nonexistent bucket and no bucket cases
This reverts commit 9e82091.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR adds Google Cloud Storage (GCS) support to the GitHub Actions cache, allowing users to store caches in GCS buckets with automatic fallback to GitHub's built-in cache service.
Features added
Benefits