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
After reading the readme, I added save-if: ${{ github.ref == 'refs/head/main' }} (we use main instead of master) to my workflow in order to only cache from the main branch.
However now the workflow is never cached regardless of if it is running on the main branch or on a PR.
Here is an example run on the main branch: https://github.com/shotover/shotover-proxy/actions/runs/5958570260/job/16162971043
It fetches an old cache from before I added the save-if but then in the post-run it doesnt write to the cache.
So it appears the documentation is wrong or the feature is broken.
The text was updated successfully, but these errors were encountered:
After reading the readme, I added
save-if: ${{ github.ref == 'refs/head/main' }}
(we use main instead of master) to my workflow in order to only cache from the main branch.However now the workflow is never cached regardless of if it is running on the main branch or on a PR.
Here is an example run on the main branch: https://github.com/shotover/shotover-proxy/actions/runs/5958570260/job/16162971043
It fetches an old cache from before I added the
save-if
but then in the post-run it doesnt write to the cache.So it appears the documentation is wrong or the feature is broken.
The text was updated successfully, but these errors were encountered: