asdf
This commit is contained in:
parent
518be21bef
commit
2b2a15c854
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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."
|
||||||
|
|
Loading…
Reference in a new issue