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

checkout seems to ignore my PATH #349

Closed
marty-igolgi opened this issue Sep 17, 2020 · 0 comments
Closed

checkout seems to ignore my PATH #349

marty-igolgi opened this issue Sep 17, 2020 · 0 comments

Comments

@marty-igolgi
Copy link

I am using a self-hosted runner with a private repo, which has submodules. My Git version is 2.7.4, which is reflected in my build logs. Git is in the path on my server, as it resides in /usr/bin and couldn't possibly not be in my path. In the event that the runner had it's own path, I set it explicitly with

    - uses: actions/checkout@v2
      with:
        submodules: 'recursive'
      env:
          PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Before that, I tried setting it with set-env. I can't find any explanation of where it's looking for PATH to not find it.

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