Skip to content

Commit

Permalink
entrypoint: Change uid/gid fetch
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kraemer <[email protected]>
  • Loading branch information
VJanKraemer committed Jan 23, 2024
1 parent bb4854b commit 26aabde
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

runner_uid=$(id -u)
runner_gid=$(id -g)

runner_uid=$(ls -lnd . | awk '{ print $3; }')
runner_gid=$(ls -lnd . | awk '{ print $4; }')
echo "Runner UID: ${runner_uid}"
echo "Runner GID: ${runner_gid}"

Expand Down

0 comments on commit 26aabde

Please sign in to comment.