Skip to content

Commit

Permalink
Unit packaging: use sudo to run privileged commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed May 17, 2024
1 parent e91e978 commit 8caedaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
cd pkg/deb
MISSING_BUILD_DEPS=$(make check-build-depends-all 2>&1 | grep -vE '^$|^The following|^make:')
apt-get install -y --no-install-suggests --no-install-recommends $MISSING_BUILD_DEPS
sudo apt-get install -y --no-install-suggests --no-install-recommends $MISSING_BUILD_DEPS
- name: deb packaging
run: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
run: |
cd pkg/rpm
MISSING_BUILD_DEPS=$(make check-build-depends-all 2>&1 | grep -vE '^$|^The following|^make:')
yum install -y $MISSING_BUILD_DEPS
sudo yum install -y $MISSING_BUILD_DEPS
- name: rpm packaging
run: |
Expand Down

0 comments on commit 8caedaa

Please sign in to comment.