Debug logs for hashFiles function
See original GitHub issueThe hashFiles
function accepts a glob (which I think is parsed by the actions/toolkit glob package).
Its extremely hard at the moment to determine if your glob (and therefore cache-key) is correct as it doesn’t output the names of the hashed files.
I propose the filename inputs to hashFiles
are logged to provide a simpler, smoother, and more accurate experience using actions/cache
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
GitHub Actions: Re-run jobs with debug logging
You can now enable debug logging when you re-run jobs in a GitHub Actions workflow run. This gives you additional information about the ......
Read more >Unable to hash files - Developer Community
Unfortunately there is useful output in the debug log above to indicate what files or directories might be having problems. I can get...
Read more >Error occurred while deploying the API to Cloudhub 2.0 ...
I am deploying the API to AnypointPlatform (CloudHub 2.0) thru GitHub actions, Below is the error that I am getting while deploying to...
Read more >Debugging and logging · Cloudflare Pages docs
Logs are a powerful debugging tool that can help you test and monitor the behavior of your Pages Functions once they have been...
Read more >Add Debug Logs with the Toolkit Logger to Find and Fix ...
In this lesson, we'll walk through adding debug logs to a custom Github Action. We'll use the debug method of the Actions Toolkit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the suggestion @JeremyLoy!
Since
hashFiles
is supported by the runner, going to transfer that issue to that repoclose since v2 hashFiles() has shipped to all actions’ user.