Use apt-get to install packages (#11824)

This commit is contained in:
Sebastian Rittau
2024-04-27 14:25:22 +02:00
committed by GitHub
parent 2db0b6e655
commit caeb45a9df
4 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ jobs:
if [ "${{ runner.os }}" = "Linux" ]; then
if [ -n "$PACKAGES" ]; then
sudo apt update && sudo apt install -y $PACKAGES
sudo apt-get update && sudo apt-get install -y $PACKAGES
fi
PYTHON_EXECUTABLE="xvfb-run python"

View File

@@ -69,7 +69,7 @@ jobs:
if [ "${{ runner.os }}" = "Linux" ]; then
if [ -n "$PACKAGES" ]; then
echo "Installing apt packages: $PACKAGES"
sudo apt update && sudo apt install -y $PACKAGES
sudo apt-get update && sudo apt-get install -y $PACKAGES
fi
PYTHON_EXECUTABLE="xvfb-run python"