Skip to content

Commit d895474

Browse files
committed
sudo
1 parent 3cb1c05 commit d895474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/setup_rust_cargo/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ runs:
1515
if [ -f /opt/homebrew/bin/brew ]; then
1616
/opt/homebrew/bin/brew install protobuf
1717
elif [ -f /usr/bin/apt ]; then
18-
/usr/bin/apt update
19-
/usr/bin/apt install -y protobuf-compiler
18+
sudo /usr/bin/apt update
19+
sudo /usr/bin/apt install -y protobuf-compiler
2020
fi
2121
2222
- uses: actions/cache@v4

0 commit comments

Comments
 (0)