Add missing "-y" to dist-upgrade

This commit is contained in:
Ion Gaztañaga
2024-01-01 00:36:35 +01:00
parent 50cefc389f
commit 19416b9abe

View File

@ -286,7 +286,7 @@ jobs:
if [ -f "/etc/debian_version" ] if [ -f "/etc/debian_version" ]
then then
apt-get -o Acquire::Retries=$NET_RETRY_COUNT update apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
apt-get -o Acquire::Retries=$NET_RETRY_COUNT dist-upgrade apt-get -o Acquire::Retries=$NET_RETRY_COUNT dist-upgrade -y
if [ "$(apt-cache search "^python-is-python3$" | wc -l)" -ne 0 ] if [ "$(apt-cache search "^python-is-python3$" | wc -l)" -ne 0 ]
then then
PYTHON_PACKAGE="python-is-python3" PYTHON_PACKAGE="python-is-python3"
@ -354,7 +354,7 @@ jobs:
done done
fi fi
sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT update sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT dist-upgrade sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT dist-upgrade -y
sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y ${{join(matrix.install, ' ')}} sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y ${{join(matrix.install, ' ')}}
- name: Setup GCC Toolchain - name: Setup GCC Toolchain
if: matrix.gcc_toolchain if: matrix.gcc_toolchain