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"

View File

@@ -16,7 +16,7 @@ PROTOBUF_VERSION=26.1
MYPY_PROTOBUF_VERSION=3.6.0
# brew install coreutils wget
# sudo apt install -y unzip
# sudo apt-get install -y unzip
REPO_ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")"/..)"
TMP_DIR="$(mktemp -d)"
PYTHON_PROTOBUF_FILENAME="protobuf-$PROTOBUF_VERSION.zip"

View File

@@ -11,7 +11,7 @@ TENSORFLOW_VERSION=2.16.1
MYPY_PROTOBUF_VERSION=3.6.0
# brew install coreutils wget
# sudo apt install -y unzip
# sudo apt-get install -y unzip
REPO_ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")"/..)"
TMP_DIR="$(mktemp -d)"
TENSORFLOW_FILENAME="v$TENSORFLOW_VERSION.zip"