This commit is contained in:
Vomitblood 2024-03-25 15:36:17 +08:00
parent 518be21bef
commit 2b2a15c854
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ jobs:
- name: Build Debian package - name: Build Debian package
run: | run: |
cd build/debian cd build/debian
sh debian.sh sh debian.sh -y
- name: Upload Debian package - name: Upload Debian package
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

View file

@ -19,7 +19,7 @@ then
echo "Rust is not installed. Would you like to install it now? (yes/no)" echo "Rust is not installed. Would you like to install it now? (yes/no)"
read answer read answer
if [ "$answer" != "${answer#[Yy]}" ] ;then if [ "$answer" != "${answer#[Yy]}" ] ;then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh sudo apt install rustc
source $HOME/.cargo/env source $HOME/.cargo/env
else else
echo "Rust is required to continue. Exiting." echo "Rust is required to continue. Exiting."