Skip to content

Commit 3dbd0ad

Browse files
committed
Attempting fix for announce workflow
1 parent 27d4904 commit 3dbd0ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/announce.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
sed -i "s/sha256sums=.*$/sha256sums=('SKIP')/" $REPO_PATH/PKGBUILD
6363
sed -i "s/pkgrel=.*$/pkgrel=1/" $REPO_PATH/PKGBUILD
6464
pushd $REPO_PATH &> /dev/null
65-
sudo -s ${{ needs.configure.outputs.username }} bash << 'EOF'
65+
sudo -u ${{ needs.configure.outputs.username }} bash << 'EOF'
6666
updpkgsums
6767
EOF
6868
pkgctl build
@@ -92,7 +92,7 @@ jobs:
9292
sed -i "s/sha256sums\\([^=]*\\)=.*$/sha256sums\\1=('SKIP')/" $REPO_PATH/PKGBUILD
9393
sed -i "s/pkgrel=.*$/pkgrel=1/" $REPO_PATH/PKGBUILD
9494
pushd $REPO_PATH &> /dev/null
95-
sudo -s ${{ needs.configure.outputs.username }} bash << 'EOF'
95+
sudo -u ${{ needs.configure.outputs.username }} bash << 'EOF'
9696
updpkgsums
9797
EOF
9898
pkgctl build

0 commit comments

Comments
 (0)