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

Fix the Failing CI on Windows while setting MinGW path #938

Closed
naveentatikonda opened this issue Jun 15, 2023 · 0 comments
Closed

Fix the Failing CI on Windows while setting MinGW path #938

naveentatikonda opened this issue Jun 15, 2023 · 0 comments
Assignees
Labels
Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.

Comments

@naveentatikonda
Copy link
Member

CI is failing on Windows while refreshing the environment after installing MinGW and setting the path. The error is shown below:

echo "C:/Users/runneradmin/scoop/apps/mingw/current/bin" >> $env:GITHUB_PATH
  refreshenv
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    JAVA_HOME_17.0.7_x6[4](https://github.com/opensearch-project/k-NN/actions/runs/5283813118/jobs/9560543049?pr=937#step:5:4): C:\hostedtoolcache\windows\jdk\17.0.7\x[6](https://github.com/opensearch-project/k-NN/actions/runs/5283813118/jobs/9560543049?pr=937#step:5:6)4
    JAVA_HOME: C:\hostedtoolcache\windows\jdk\1[7](https://github.com/opensearch-project/k-NN/actions/runs/5283813118/jobs/9560543049?pr=937#step:5:7).0.7\x64
    JAVA_HOME_17_0_7_X64: C:\hostedtoolcache\windows\jdk\17.0.7\x64
RefreshEnv.cmd does not work when run from this process. If you're in PowerShell, please 'Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1' and try again.
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

No branches or pull requests

3 participants