msys2 / setup-msys2

GitHub Action to setup MSYS2
https://github.com/marketplace/actions/setup-msys2
MIT License
296 stars 40 forks source link

Add cache-from and cache-to options #376

Closed Xpl0itU closed 2 months ago

Xpl0itU commented 5 months ago

I have a workflow that gets triggered whenever I create a tag, however, the created cache only works for that tag, and not other tags or any other run at all, see this SO post for what I mean: https://stackoverflow.com/questions/74113734/share-gha-docker-cache-among-branches

lazka commented 2 months ago

cache-from and cache-to are docker features. I don't understand what this has to do with this action.

lazka commented 2 months ago

See https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache for cache isolation details.

All tags are isolated. We can't change anything about that.