Skip to content

Commit 858300a

Browse files
fix: use sudo for apt-get commands in CI workflow to ensure proper permissions
1 parent 0e0b6e7 commit 858300a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323

2424
- name: Install GDAL and dependencies
2525
run: |
26-
apt-get update
27-
apt-get install -y gdal-bin libgdal-dev
26+
sudo apt-get update
27+
sudo apt-get install -y gdal-bin libgdal-dev
2828
2929
- name: Install Poetry
3030
run: pip install poetry
@@ -50,8 +50,8 @@ jobs:
5050

5151
- name: Install GDAL and dependencies
5252
run: |
53-
apt-get update
54-
apt-get install -y gdal-bin libgdal-dev
53+
sudo apt-get update
54+
sudo apt-get install -y gdal-bin libgdal-dev
5555
5656
- name: Install Poetry
5757
run: pip install poetry

0 commit comments

Comments
 (0)