Open jsoref opened 1 year ago
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
☹️
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
😞🤕
684 asked about relative paths, and was rejected because there were other things someone could do...
I'm developing an action and I'd like to cache content within my action. Most of the time, my action will be run from something like:
/home/runner/work/check-spelling/check-spelling/
, but when it's testing itself, thegithub.action_path
property has a trailing./
. Afaict, GHA does not have string processing functions that would make stripping a trailing./
or/
easy to do.The result is: https://github.com/jsoref/check-spelling/actions/runs/3993931770/jobs/6851091696
followed by
Rejecting
'..'
is perfectly reasonable. Rejecting/./
seems questionable, especially given that GHA naturally constructs paths of this form.If GHA were to not construct paths of this form (which would make me otherwise happy), I'd be happy to close this Issue...
p.s. it would be nicer if the complaint about "relative pathing" was triggered in the normal
uses
stage instead of in thepost
stage.