You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe listReleaseAssets can be run and cached once before starting upload. Though, that'll fail if you somehow sequentially upload two artifacts with same name. So maybe config flag to enable caching?
The text was updated successfully, but these errors were encountered:
https://github.com/termux/upload-release-action/blob/master/src/uploadToRelease.ts#L29
By default, listReleaseAssets returns 30 items per page. We have 124 assets, so that's 5 pages => 5 api calls by paginate. And that's per artifact.
This can be raised to 100 per page, thus lowering to just 2 api calls per artifact
Maybe listReleaseAssets can be run and cached once before starting upload. Though, that'll fail if you somehow sequentially upload two artifacts with same name. So maybe config flag to enable caching?
The text was updated successfully, but these errors were encountered: