question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug logs for hashFiles function

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joshmgrosscommented, Mar 18, 2020

Thanks for the suggestion @JeremyLoy!

Since hashFiles is supported by the runner, going to transfer that issue to that repo

0reactions
TingluoHuangcommented, Apr 13, 2020

close since v2 hashFiles() has shipped to all actions’ user.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found