mirror of
https://github.com/nushell/nushell
synced 2024-12-27 13:33:16 +00:00
Merge pull request #940 from jonathandturner/stable_v2
Second attempt to remove rust-toolchain
This commit is contained in:
commit
5dfc81a157
3 changed files with 2 additions and 2 deletions
|
@ -37,6 +37,7 @@ steps:
|
|||
fi
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
rustup update
|
||||
rustc -Vv
|
||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||
rustup component add rustfmt --toolchain "stable"
|
||||
|
|
|
@ -11,9 +11,9 @@ RUN apt-get update && apt-get install -y libssl-dev \
|
|||
|
||||
ARG RELEASE=false
|
||||
WORKDIR /code
|
||||
COPY ./rust-toolchain ./rust-toolchain
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
RUN rustup update
|
||||
COPY . /code
|
||||
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
|
||||
rustc -Vv && \
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
1.39.0
|
Loading…
Reference in a new issue