-
Notifications
You must be signed in to change notification settings - Fork 39
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
Option to add binaries to path #70
Comments
Actually, I think you need |
It's better to use |
I agree with @dra27, |
|
I think @JasonGross posted the answer in his followup comment
Modifying GITHUB_ENV is sufficient for future steps in the workflow to inherit the env, and it would simplify subsequent commands. It might be best to make this a non-default option in the workflow config though, in case it has unexpected consequences (such as an opam switch in a future step nullifying it). |
Of course I can add something to the action that handles this well, but I also think it would be smarter to add a better fix to opam after this summer. |
I just opened a PR to address this. Since v2 removed quite a lot of the differences between each platform, it was done in a fairly simple way. |
having opam environment set up would allow to not duplicate build commands in yml, but invoke same wrapper as developers are using (e.g. make) |
I feel that this is a more opam issue that needs to be fixed, but can it be fixed on the opam side? I actually use opam exec a lot locally as well as on CI, which is a bit odd. |
|
It would be nice if I could set some variable to
true
to have the opam environment added to path, so I don't need toopam exec
everything. (It might be the case that runningopam env >> $GITHUB_ENV
is enough?)The text was updated successfully, but these errors were encountered: