File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 45
45
${{ runner.os == 'Linux' && 'sudo apt-get install curl wget -y' || true }} && \
46
46
${{ 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 }} && \
47
47
${{ 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 }} && \
49
49
${{ runner.os == 'Linux' && 'sudo cp nu /usr/bin' || true }} && \
50
50
${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
51
51
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \
You can’t perform that action at this time.
0 commit comments