New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please retry uploading when failed. #187
Comments
Note that when using the GH Actions "rerun all jobs" after encountering this error, you can encounter #166 instead, which requires deleting the half-uploaded files before re-running the jobs again will succeed. |
#181 seems relevant |
If release assets share the same name they should be deleted when a release is reattempted action-gh-release/src/github.ts Line 152 in 58fa4b7
|
@softprops Would you please add this feature? I'm facing this issue just now. |
I am facing the same issue. Right now, I use this workaround: steps:
- name: Upload assets
id: upload_try1
continue-on-error: true
uses: softprops/action-gh-release@v1
with:
files: ${{ env.RELEASE_ASSETS }}
- name: Upload assets (retry)
id: upload_try2
if: steps.upload_try1.outcome == 'failure'
continue-on-error: true
uses: softprops/action-gh-release@v1
with:
files: ${{ env:RELEASE_ASSETS }}
# more retries |
+1 for this feature. We're having an issue with uploading several .zip's from our build chain to the Release file host on Github. Most of them are successful but one or two have been consistently failing with ECONNRESET since around December 2021 or so. Thankfully we were able to come up with a manual workaround by stashing the .zip's as an artifact to the workflow instead of needing to re-run the entire build chain. During my experiments to find a workaround, a short delay of 5 or 15s did not prevent ECONNRESET from occurring. |
E.g. ncipollo/release-action do the job. |
ncipollo/release-action provides automatic retries whereas such behaviour is currently unavailable in action-gh-release as per softprops/action-gh-release#187
The release already existed when I was trying to replace the assets. This failed about 5 times until I deleted the release entirely. |
Any updates on this? |
this constantly fails, do not use this workflow |
i used https://github.com/ncipollo/release-action and that solved my same problem... |
Sometimes I will get this error https://github.com/abcfy2/aria2-static-build/runs/4349111525?check_suite_focus=true:
Please retry when uploading failed. Thanks.
The text was updated successfully, but these errors were encountered: