diff options
author | Jakub Žádník <kubouch@gmail.com> | 2022-11-10 20:32:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 11:32:55 -0800 |
commit | dbc57c2bd6c9d23d482bc7400ddb6c7c7022de09 (patch) | |
tree | a2c687f96b3af1cee9770c14a8e269eb9ce37c21 | |
parent | e4a42c6eeb48004461bb8711fa06e830bc40eb37 (diff) | |
download | virtualenv-dbc57c2bd6c9d23d482bc7400ddb6c7c7022de09.tar.gz |
Try to fix Nushell install (#2444)
-rw-r--r-- | .github/workflows/check.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 230dac3..07d5adc 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; |