From dbc57c2bd6c9d23d482bc7400ddb6c7c7022de09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Thu, 10 Nov 2022 20:32:55 +0100 Subject: [PATCH] Try to fix Nushell install (#2444) --- .github/workflows/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 230dac3ce..07d5adc04 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -45,8 +45,8 @@ jobs: ${{ runner.os == 'Linux' && 'sudo apt-get install curl wget -y' || true }} && \ ${{ 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 }} && \ ${{ runner.os == 'Linux' && 'wget -O nushell.tar.gz $nushell_url' || true }} && \ - ${{ runner.os == 'Linux' && 'tar -zxf --strip-components=1 nushell.tar.gz' || true }} && \ - ${{ runner.os == 'Linux' && 'sudo cp nu /usr/bin' || true }} && \ + ${{ runner.os == 'Linux' && 'tar -zxf nushell.tar.gz' || true }} && \ + ${{ runner.os == 'Linux' && 'sudo cp nu-*-x86_64-unknown-linux-gnu/nu /usr/bin' || true }} && \ ${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \ ${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \ exit 0 || true;