-
Notifications
You must be signed in to change notification settings - Fork 0
look for droute_send_template.json in $GITHUB_ACTION_PATH #58
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
Conversation
Co-authored-by: Daniele <36171005+dtrifiro@users.noreply.github.com>
Co-authored-by: Tarun Kumar <takumar@redhat.com>
when this action was working, the file was successfully found at
|
Tested with a modified compressed-tensors repo that only ran tests on one runner. This was successful: https://github.com/neuralmagic/compressed-tensors/actions/runs/15781314153/job/44487696590 |
Summary:
We need to be more specific about where to find the droute_sent_template.json file.
Details:
the compressed-tensors nightly job is failing. https://github.com/neuralmagic/compressed-tensors/actions/runs/15695266055/job/44251855599
the error is:
It appears that inside the
neuralmagic/nm-actions/actions/reportportal_submit_execution_results@v1.15.0
action, the command:Is returning two different files with the same name:
/home/runner/actions-runner/_work/nm-cicd/nm-cicd/.github/actions/submit-to-report-portal/droute_send_template.json
and/home/runner/actions-runner/_work/_actions/neuralmagic/nm-actions/v1.15.0/actions/reportportal_submit_execution_results/droute_send_template.json
Then the
jq
command in the action is run for both files, duplicating the content of the generated datarouter.json file. This explains how the content of the json is bad.The extra file is /home/runner/actions-runner/_work/nm-cicd/nm-cicd/.github/actions/submit-to-report-portal/droute_send_template.json, but I don’t get how/when nm-cicd was installed, or why the installed version even has that action.
The workaround is to adjust the
find
command to look where the current job's actions were downloaded. That is available as the$GITHUB_ACTION_PATH
env var.Test Plan:
I've verified that the syntax of using an env var with the
find
command works as expected. The thing I haven't done is confirm that the$GITHUB_ACTION_PATH
resolves correctly, but the documentation here indicates that it's the path I expect.Related Issues:
N/A