Add rust-toolchain.toml dependencies to the dockerfile cache

This commit is contained in:
2025-12-05 02:57:40 -07:00
parent df4c2274d5
commit 7162786096
2 changed files with 4 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ jobs:
# Docker writes files as root. We need to own them to upload them. # Docker writes files as root. We need to own them to upload them.
- name: Fix Permissions - name: Fix Permissions
if: always() if: always()
run: sudo chown -R $USER:$USER release/ run: chown -R $USER:$USER release/
# 4. Upload to GitHub # 4. Upload to GitHub
- name: Upload Release Artifacts - name: Upload Release Artifacts

View File

@@ -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 \ && ./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/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 WORKDIR /app