Skip to content

Commit

Permalink
fix: run fnm commands directly instead of putting them into bashrc an…
Browse files Browse the repository at this point in the history
…d requiring a source commands of it
  • Loading branch information
cmgriffing committed May 20, 2021
1 parent 7c920c3 commit 722a5b3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ runs:
steps:
- run: "curl -fsSL https://fnm.vercel.app/install | bash"
shell: bash
- run: |
cat "# fnm
export PATH=/home/runner/.fnm:$PATH
eval \"`fnm env`\"" >> /home/runner/.bashrc
- run: export PATH=/home/runner/.fnm:$PATH
shell: bash
- run: "source /home/runner/.bashrc"
- run: eval \"`fnm env`\"
shell: bash
- run: "fnm install 14 && fnm use 14"
shell: bash
Expand Down

0 comments on commit 722a5b3

Please sign in to comment.