Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Add ~/.deno/lib/ To PATH #67

Closed
SteelAlloy opened this issue Sep 22, 2020 · 0 comments · Fixed by #70
Closed

Add ~/.deno/lib/ To PATH #67

SteelAlloy opened this issue Sep 22, 2020 · 0 comments · Fixed by #70

Comments

@SteelAlloy
Copy link

When installing a deno module globally, I am unable to use the exec in other steps

- run: deno install -A -n foo mod.ts

- run: foo
 /home/runner/work/_temp/013c1727-ed4e-4aa8-aca7-9e9ae2257aff.sh: line 1: foo: command not found

However it works if I add /.deno/bin/ to the PATH it works
On Linux:

- run: |
  deno install -A -n foo mod.ts
  echo "::add-path::/home/runner/.deno/bin"

- run: foo

Is it possible to add /.deno/bin/ to the PATH by default on the action?

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

Successfully merging a pull request may close this issue.

1 participant