Skip to content

Commit

Permalink
Add to normal PATH as well I guess
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Jan 13, 2024
1 parent b06fabc commit a93fcd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ jobs:
- uses: actions/checkout@v3

- name: Setup LLVM and Odin
uses: laytan/setup-odin@v1
with:
llvm-version: 14
cache: true
run: ./setup_odin.sh

- uses: pnpm/action-setup@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions setup_odin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ chmod +x /home/runner/odin/odin

echo "/home/runner/odin" >>$GITHUB_PATH
echo "/usr/lib/llvm-14/bin" >>$GITHUB_PATH
export PATH="/home/runner/odin:$PATH"
export PATH="/usr/lib/llvm-14/bin:$PATH"

echo "Done!"
echo "llvm: $(llvm-config --version)"
Expand Down

0 comments on commit a93fcd1

Please sign in to comment.