Skip to content

Commit 6f98a67

Browse files
authored
fix: Action fails on Github self-hosted runners (#23)
no need to sudo
1 parent 5b0cf37 commit 6f98a67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
while [ $n -lt $MAX_RETRIES ]; do
3939
echo "Starting Twingate service..."
4040
set +xe
41-
sudo twingate start
41+
twingate start
4242
4343
echo "Waiting $WAIT_TIME seconds for Twingate service to start..."
4444
sleep $WAIT_TIME
@@ -51,7 +51,7 @@ runs:
5151
twingate resources
5252
break
5353
else
54-
sudo twingate stop
54+
twingate stop
5555
journalctl -u twingate --no-pager
5656
fi
5757

0 commit comments

Comments
 (0)