summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernát Gábor <gaborjbernat@gmail.com>2022-11-10 09:00:23 -0800
committerGitHub <noreply@github.com>2022-11-10 09:00:23 -0800
commite4a42c6eeb48004461bb8711fa06e830bc40eb37 (patch)
tree87e34a10b7050c07d985231e3b60786ae1ed59ae
parentc13db75469d6d39778049930431f3496c1e2c4ac (diff)
downloadvirtualenv-e4a42c6eeb48004461bb8711fa06e830bc40eb37.tar.gz
Fix nushell install
-rw-r--r--.github/workflows/check.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 57b0dfb..230dac3 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -45,7 +45,7 @@ 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 nushell.tar.gz' || true }} && \
+ ${{ runner.os == 'Linux' && 'tar -zxf --strip-components=1 nushell.tar.gz' || true }} && \
${{ runner.os == 'Linux' && 'sudo cp nu /usr/bin' || true }} && \
${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \