mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Use apt-get to install packages (#11824)
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -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"
|
||||
|
||||
2
.github/workflows/stubtest_third_party.yml
vendored
2
.github/workflows/stubtest_third_party.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user