diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bdd948..0bd61dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Dockerfile.build b/Dockerfile.build index cbb06c5..7f017fc 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -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