Skip to content

Commit

Permalink
Add missing sudo
Browse files Browse the repository at this point in the history
Internal-tag: [#60812]
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Jul 16, 2024
1 parent dea4658 commit e0dbacc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-openocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install prerequisities
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
apt -qqy update && apt -qqy --no-install-recommends install \
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install \
make libtool pkg-config autoconf automake texinfo
- name: Build and install OpenOCD
Expand All @@ -50,5 +50,5 @@ jobs:
./configure --prefix=/opt/openocd --enable-remote-bitbang \
CFLAGS="-Wno-error=misleading-indentation -Wno-error=stringop-overflow"
make -j`nproc`
make install
sudo make install
popd
2 changes: 1 addition & 1 deletion .github/workflows/test-openocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- name: Install utils
run: |
apt -qqy update && apt -qqy --no-install-recommends install \
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install \
cpanminus ccache ninja-build
pip3 install meson
cpanm Bit::Vector
Expand Down

0 comments on commit e0dbacc

Please sign in to comment.