generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm getting errors accessing the response-file
- seems like it does not exist.
You can even see it in the tests that silently pass in this repository https://github.com/actions/ai-inference/actions/runs/17200753887/job/48790733430
I'm guessing that it's because of the temporary file solution here - isn't this file automatically destroyed when the program exits? Therefore making the response-file
output pointing to a file that does not exist after the action completes.
Proposed solution
const workspace = process.env['GITHUB_WORKSPACE'] || process.cwd()
const responseFilePath = path.join(workspace, 'modelResponse-{random-string}.txt')
Metadata
Metadata
Assignees
Labels
No labels