Skip to content

Commit a1798a9

Browse files
authored
Install dotnet-sdk-2.1 through apt-get (#17750)
The reason to make the change is to install a newer 2.1.x version, which support openssl 1.1.
1 parent 3535d15 commit a1798a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SwaggerCI/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
# Installed required packages
66
sudo apt-get update \
77
&& sudo apt-get install -y curl \
8+
&& sudo apt-get install -y dotnet-sdk-2.1 \
89
&& curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
910
&& export NVM_DIR="$HOME/.nvm" \
1011
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
1112
&& [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \
1213
&& nvm install 14.15.5 \
1314
&& npm config set unsafe-perm true \
14-
&& npm install -g autorest \
15-
&& npm install -g dotnet-sdk-2.1
15+
&& npm install -g autorest
1616

1717
# Write $PATH and some other envs to a file for later usage
1818

0 commit comments

Comments
 (0)