pyTooling / Actions

Reusable steps and workflows for GitHub Actions
https://pytooling.github.io/Actions/
Other
31 stars 5 forks source link

Sort globbed files for releases #52

Closed beyarkay closed 2 years ago

beyarkay commented 2 years ago

This change simply sorts the list of files after the glob has been resolved. This is useful because these files are often destined for a release, and having to scroll through hundreds of files which aren't sorted is painful.

New Features

None

Changes

Bug Fixes

None


I'm happy to convert this into an option that can be specified in the yaml if you'd prefer?

Paebbels commented 2 years ago

@umarcor I see no harm in this new behavior, so it doesn't need to be a parameter, right?

beyarkay commented 2 years ago

Yeah no harm at all, just wasn't sure how strict you were gonna be about the O(nlogn) time to sort the array 😄. By way of an extra example, here's a release I've got. Trying to find the calendar western-cape-stellenbosch.ics if you're a luddite and don't know about ctrl-f is a bit tricky.

But thanks for the GH action! it's solved so many issues I had previously.

beyarkay commented 2 years ago

Is there anything preventing this from being merged?