Merge pull request #12 from dbidwell94/cicd
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.
|
# 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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user