Skip to content

Commit e4a42c6

Browse files
authored
Fix nushell install
1 parent c13db75 commit e4a42c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os == 'Linux' && 'sudo apt-get install curl wget -y' || true }} && \
4646
${{ runner.os == 'Linux' && 'nushell_url=$(curl -s https://api.github.com/repos/nushell/nushell/releases/latest | grep "browser_" | grep "x86_64" | grep "linux" | grep "gnu" | cut -d\" -f4 )' || true }} && \
4747
${{ runner.os == 'Linux' && 'wget -O nushell.tar.gz $nushell_url' || true }} && \
48-
${{ runner.os == 'Linux' && 'tar -zxf nushell.tar.gz' || true }} && \
48+
${{ runner.os == 'Linux' && 'tar -zxf --strip-components=1 nushell.tar.gz' || true }} && \
4949
${{ runner.os == 'Linux' && 'sudo cp nu /usr/bin' || true }} && \
5050
${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
5151
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \

0 commit comments

Comments
 (0)