File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,15 @@ jobs:
36
36
-
{ os: macos-12, py: "[email protected] " }
37
37
-
{ os: macos-12, py: "[email protected] " }
38
38
steps :
39
+ - uses : taiki-e/install-action@cargo-binstall
39
40
- name : Install OS dependencies
40
41
run : |
41
42
for i in 1 2 3; do
42
43
echo "try $i" && \
43
44
${{ runner.os == 'Linux' && 'sudo apt-get update -y && sudo apt-get install snapd fish csh -y' || true }} && \
44
- ${{ runner.os == 'Linux' && 'sudo apt-get install curl wget -y' || true }} && \
45
- ${{ 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 }} && \
46
- ${{ runner.os == 'Linux' && 'wget -O nushell.tar.gz $nushell_url' || true }} && \
47
- ${{ runner.os == 'Linux' && 'tar -zxf nushell.tar.gz' || true }} && \
48
- ${{ runner.os == 'Linux' && 'sudo cp nu-*-x86_64-unknown-linux-gnu/nu /usr/bin' || true }} && \
49
- ${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
45
+ ${{ runner.os == 'Linux' && 'cargo binstall -y nu' || true }} && \
50
46
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \
47
+ ${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
51
48
exit 0 || true;
52
49
done
53
50
exit 1
You can’t perform that action at this time.
0 commit comments