Troubleshooting GitHub workflow uploading to GH packages having a time-out #177910
-
Select Topic AreaQuestion BodyI have an open source project hosted on GitHub. The GH workflow builds the project successfully, but deploying to GitHub packages does no longer work for some reason. I get a time-out while uploading a small pom file. Failed workflow run: https://github.com/advantest/flexmark-java/actions/runs/18785300647 The error message in the logs is the following: This same workflow did successfully deploy to GitHub pages and AFAIK the workflow did not change since then. Does someone has any idea why the deployment now fails? Thank you for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
I have had this issue in the past where re-running the workflow or bumping release version resolved the issue. Otherwise, i think it is recommended to use GitHub workflow with project workspace, settings.xml, & GH token for mvn commands Workflow Snippet See sample packages here that may help narrow the issue:
Note: It might be worth separating publish workflow from running CI steps (such as install test, test coverage etc. to isolate the issue - that is a lot for one workflow, might be a natural timeout for bigger project with many sub modules) |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Thank you for the hints @conorheffron, |
Beta Was this translation helpful? Give feedback.
I have had this issue in the past where re-running the workflow or bumping release version resolved the issue.
Otherwise, i think it is recommended to use GitHub workflow with project workspace, settings.xml, & GH token for mvn commands
package&deployvia maven/gradle wrappers.Workflow Snippet
See sample packages here that may help narrow the issue: