Skip to content

Commit dbc57c2

Browse files
authored
Try to fix Nushell install (#2444)
1 parent e4a42c6 commit dbc57c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ 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 --strip-components=1 nushell.tar.gz' || true }} && \
49-
${{ runner.os == 'Linux' && 'sudo cp nu /usr/bin' || true }} && \
48+
${{ runner.os == 'Linux' && 'tar -zxf nushell.tar.gz' || true }} && \
49+
${{ runner.os == 'Linux' && 'sudo cp nu-*-x86_64-unknown-linux-gnu/nu /usr/bin' || true }} && \
5050
${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
5151
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \
5252
exit 0 || true;

0 commit comments

Comments
 (0)