Skip to content

Commit 2b3b7e2

Browse files
committed
add sudo
1 parent e7ca2ab commit 2b3b7e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
python-version: "3.11"
2323
- name: Install dependencies
2424
run: |
25-
apt-get update
26-
apt-get install --no-install-suggests --no-install-recommends --yes python3-venv gcc libpython3-dev
27-
apt-get clean
28-
rm -rf /var/lib/apt/lists/*
25+
sudo apt-get update
26+
sudo apt-get install --no-install-suggests --no-install-recommends --yes python3-venv gcc libpython3-dev
27+
sudo apt-get clean
28+
sudo rm -rf /var/lib/apt/lists/*
2929
python3 -m venv "${POETRY_VENV}"
3030
$POETRY_VENV/bin/pip install -U pip setuptools
3131
$POETRY_VENV/bin/pip install "poetry==${POETRY_VERSION}"

0 commit comments

Comments
 (0)