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

neonctl not found on Windows #33

Closed
canac opened this issue Sep 23, 2023 · 2 comments · Fixed by #35
Closed

neonctl not found on Windows #33

canac opened this issue Sep 23, 2023 · 2 comments · Fixed by #35

Comments

@canac
Copy link

canac commented Sep 23, 2023

Steps to reproduce

Use this action on a windows-latest runner.

Expected result

Action successfully creates a branch.

Actual result

Action fails with a neonctl: command not found error.

Environment

Runner OS: windows-latest
Version: neondatabase/create-branch-action@v4

Logs, links

debug.log:

branch create out:\n
\nbranch create err:\n
D:\a\_temp\e64753fe-5bed-4532-a4a4-c46d1d409a40.sh: line 1: neonctl: command not found
\n

According to this discussion, it appears that actions/setup-node doesn't add the yarn global bin directory to the path on Windows.

This issue is also present on https://github.com/neondatabase/delete-branch-action

@canac canac changed the title neonctl not found on windows neonctl not found on Windows Sep 23, 2023
@duskpoet
Copy link
Member

duskpoet commented Oct 4, 2023

Thanks for noticing! Can you validate the latest release, please?

@canac
Copy link
Author

canac commented Oct 4, 2023

@duskpoet Yes, it seems to work now. Thanks for the fix!

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

Successfully merging a pull request may close this issue.

2 participants