GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Add `fail-on-cache-miss` option by cdce8p · Pull Request #1036 · actions/cache Conversation
Contributor
DescriptionAdd an advanced option to fail job if cache miss occurs. Motivation and ContextFixes #955 and partially #1020 (comment) This is already possible via the - name: Check cache hit if: steps.cache.outputs.cache-hit != 'true' run: exit 1 As mentioned in #955 (comment), the goal to simplify the configuration doesn't exclude the possibility to help with more advanced use cases. Including the new option will make it easier to use, help keep workflows more readable, and enable better error messages. How Has This Been Tested?Added test cases and run a test workflow using the feature branch. Screenshots (if appropriate):-- Types of changes
Checklist:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
kotewar
suggested changes
Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
kotewar
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Thanks @cdce8p for your contribution, the changes are live 🚀 Please do test the positive and negative responses once with the latest tag |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Awesome 🎉 Thanks for your help getting it ready.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let me check |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
My bad, I forgot to tag the version to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It works now! Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Add fail-on-cache-miss option * Small improvements * Changes after rebase * Update description * Only fail if no cache entry is found * Code review * Update readme * Add additional test case * Bump version + changelog * Update package-lock.json * Update Readme
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
optional action failure on cache miss
There was an error while loading. Please reload this page.