跳至内容

CodeCatalyst : Running action is failing without any log

1

Hi

I'm developing a custom CodeCatalyst action. I have a workflow defined to run the action. When I try to run the action, I see the following error

Action run failure The workflow run failed because one of its action runs failed. Inspect the action run details below or re-run the workflow.

But when I try to see the logs under the action, it is empty. There is nothing shown. I would like to paste a screenshot, but it is apparently not possible here.

How can this be solved without any log ?

If that could help solving the issue

  • I have the same action code in 2 projects under the same space
  • In project1, it is working fine. I can launch the action in my validation workflow
  • In project2, it is not working. The code is same in project1 and project2
  • In the working project1, I'm using a CodeCatalyst repo, and in the non working project2, my source repo is on GitHub
  • One notable difference, when I try to edit the workflow in the working project, I can see my action in the action list under the "local" category. In the non working project I do not see it available in the action list at all.

已提问 3 年前456 查看次数

2 回答
0
已接受的回答

I've got the answer. The code of the custom action has to reside in a CodeCatalyst repository.

In the "Getting started" guide, the sample uses a CodeCatalyst repository. It will be good to indicate somewhere that only CodeCatalyst repository type is supported

已回答 3 年前

0

I did some progress in my investigations

In the non working project, if I put my action's code in a CodeCatalyst repo, instead of a Github repository, it is working. Does it mean that the source code of the action has to reside in a CodeCatalyst repository only or is there currently a bug preventing the use of Github as the repository ?

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。