Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caeb45a

Browse files
authored
Use apt-get to install packages (#11824)
1 parent 2db0b6e commit caeb45a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
8585
if [ "${{ runner.os }}" = "Linux" ]; then
8686
if [ -n "$PACKAGES" ]; then
87-
sudo apt update && sudo apt install -y $PACKAGES
87+
sudo apt-get update && sudo apt-get install -y $PACKAGES
8888
fi
8989
9090
PYTHON_EXECUTABLE="xvfb-run python"

.github/workflows/stubtest_third_party.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
if [ "${{ runner.os }}" = "Linux" ]; then
7070
if [ -n "$PACKAGES" ]; then
7171
echo "Installing apt packages: $PACKAGES"
72-
sudo apt update && sudo apt install -y $PACKAGES
72+
sudo apt-get update && sudo apt-get install -y $PACKAGES
7373
fi
7474
7575
PYTHON_EXECUTABLE="xvfb-run python"

scripts/generate_proto_stubs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PROTOBUF_VERSION=26.1
1616
MYPY_PROTOBUF_VERSION=3.6.0
1717

1818
# brew install coreutils wget
19-
# sudo apt install -y unzip
19+
# sudo apt-get install -y unzip
2020
REPO_ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")"/..)"
2121
TMP_DIR="$(mktemp -d)"
2222
PYTHON_PROTOBUF_FILENAME="protobuf-$PROTOBUF_VERSION.zip"

scripts/sync_tensorflow_protobuf_stubs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TENSORFLOW_VERSION=2.16.1
1111
MYPY_PROTOBUF_VERSION=3.6.0
1212

1313
# brew install coreutils wget
14-
# sudo apt install -y unzip
14+
# sudo apt-get install -y unzip
1515
REPO_ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")"/..)"
1616
TMP_DIR="$(mktemp -d)"
1717
TENSORFLOW_FILENAME="v$TENSORFLOW_VERSION.zip"

0 commit comments

Comments
 (0)