Skip to content

Save cache when SDK built successfully, regardless of the later workflow's failure. #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stripe2933
Copy link

The current actions/cache stores the built Vulkan SDK cache only after the workflow completes. Even if the Vulkan SDK is successfully built, it will not be cached if a subsequent workflow fails.

This PR enhances the caching mechanism by using actions/cache/restore and actions/cache/save instead of actions/cache. This fine-grained mechanism ensures that the Vulkan SDK cache is saved immediately upon a successful build, regardless of the success or failure of later workflows, thereby reducing unnecessary build time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant