Skip to content

Commit

Permalink
Replace sudo with su
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuka committed May 31, 2024
1 parent 1114be2 commit 672bce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
PKGNAME=$(python3 -c 'print(eval(open("package").read())["name"])')
VERSION=$(python3 -c 'print(eval(open("package").read())["version"])')
sudo -u cmk mkp -v package package
su -c "mkp -v package package" cmk
mkp inspect $OMD_ROOT/var/check_mk/packages_local/$NAME-$VERSION.mkp
cp $OMD_ROOT/var/check_mk/packages_local/$NAME-$VERSION.mkp .
echo "pkgfile=${NAME}-${VERSION}.mkp" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 672bce0

Please sign in to comment.