action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

Order is not preserved with preserve_order

Open meator opened this issue 4 months ago • 1 comments

Hey. The artifacts in my release aren't ordered the same way they are in files when preserve_order is set to true.

I am currently making draft: true releases to test this. Does that affect it?

Some of the files are much smaller than the others. The smaller files can be (I assume) uploaded almost instantaneously. This could mess with the ordering.

The action's output would indicate that the artifacts were uploaded synchronously in the correct order.

I'm using softprops/action-gh-release version v2.3.2 (current latest) pinned to 72f2c25fcb47643c292f7107632f7a47c1df5cd8.

meator avatar Aug 08 '25 19:08 meator

GitHub, at least now, never respect upload order but always order them alphabetically; I think it make more sense to rename preserve_order to something like not_async_upload.

ale5000-git avatar Aug 26 '25 03:08 ale5000-git