diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f58b743..e19b169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: - name: Build Debian package run: | cd build/debian - sh debian.sh + sh debian.sh -y - name: Upload Debian package uses: actions/upload-artifact@v2 diff --git a/build/debian/debian.sh b/build/debian/debian.sh index d699076..fc312cb 100644 --- a/build/debian/debian.sh +++ b/build/debian/debian.sh @@ -19,7 +19,7 @@ then echo "Rust is not installed. Would you like to install it now? (yes/no)" read answer if [ "$answer" != "${answer#[Yy]}" ] ;then - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + sudo apt install rustc source $HOME/.cargo/env else echo "Rust is required to continue. Exiting."