Skip to content

Commit

Permalink
fix: Action fails on Github self-hosted runners (#23)
Browse files Browse the repository at this point in the history
no need to sudo
  • Loading branch information
ekampf authored Feb 10, 2025
1 parent 5b0cf37 commit 6f98a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
while [ $n -lt $MAX_RETRIES ]; do
echo "Starting Twingate service..."
set +xe
sudo twingate start
twingate start
echo "Waiting $WAIT_TIME seconds for Twingate service to start..."
sleep $WAIT_TIME
Expand All @@ -51,7 +51,7 @@ runs:
twingate resources
break
else
sudo twingate stop
twingate stop
journalctl -u twingate --no-pager
fi
Expand Down

0 comments on commit 6f98a67

Please sign in to comment.