Add rust-toolchain.toml dependencies to the dockerfile cache
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
||||
# Docker writes files as root. We need to own them to upload them.
|
||||
- name: Fix Permissions
|
||||
if: always()
|
||||
run: sudo chown -R $USER:$USER release/
|
||||
run: chown -R $USER:$USER release/
|
||||
|
||||
# 4. Upload to GitHub
|
||||
- name: Upload Release Artifacts
|
||||
|
||||
@@ -11,7 +11,9 @@ RUN wget --progress=dot:giga https://dot.net/v1/dotnet-install.sh -O dotnet-inst
|
||||
&& ./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet \
|
||||
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
|
||||
|
||||
RUN rustup target add x86_64-pc-windows-gnu && rustup target add x86_64-unknown-linux-gnu
|
||||
RUN rustup target add x86_64-pc-windows-gnu \
|
||||
&& rustup target add x86_64-unknown-linux-gnu \
|
||||
&& rustup component add rustfmt clippy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user