Skip to content

Commit fa0368d

Browse files
committed
fix PATH handling
1 parent 31b719d commit fa0368d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ runs:
6262
shell: bash
6363
run: |
6464
${{ github.action_path }}/install-unix.sh "${{ inputs.version }}"
65+
echo "$HOME/.local/bin" >> $GITHUB_PATH
6566
6667
- name: Install dbc CLI (Windows)
6768
id: install-windows
6869
if: runner.os == 'Windows' && steps.cache.outputs.cache-hit != 'true'
6970
shell: pwsh
7071
run: |
7172
& "${{ github.action_path }}/install-windows.ps1" -Version "${{ inputs.version }}"
73+
echo (Join-Path $env:USERPROFILE ".local\bin") >> $env:GITHUB_PATH
7274
7375
- name: Get installed version
7476
id: install

install-unix.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ else
1212
curl -fsSL https://dbc.columnar.tech/install.sh | bash -s -- --version "$VERSION"
1313
fi
1414

15+
PATH="$HOME/.local/bin:$PATH"
16+
1517
# Verify installation
1618
if ! command -v dbc &> /dev/null; then
1719
echo "::error::dbc CLI installation failed - command not found"

0 commit comments

Comments
 (0)