Skip to content
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

Request: GitHub Action artifact support #121

Open
jamesbraza opened this issue May 30, 2024 · 1 comment
Open

Request: GitHub Action artifact support #121

jamesbraza opened this issue May 30, 2024 · 1 comment

Comments

@jamesbraza
Copy link
Contributor

Since shareable URLs only last two weeks, I am now persisting my promptfoo outputs via https://github.com/actions/upload-artifact.

It would be nice to either:

  • Support artifacts directly in this action
  • Support output arg in this action
  • Allow promptfoo eval --output to pull from an environment variable PROMPTFOO_OUTPUT
@jamesbraza
Copy link
Contributor Author

Actually, it looks like by default this action creates an output.json: https://github.com/promptfoo/promptfoo-action/blob/v1/src/main.ts#L124

I think this issue can alternately be closed by just documenting that in the README.md (and optionally making that path configurable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant