run ownership action on linux

This commit is contained in:
Kevin Pfeifer 2024-05-15 20:14:07 +00:00
parent 079440d0a0
commit 89af77f5a2
1 changed files with 2 additions and 0 deletions

View File

@ -66,10 +66,12 @@ jobs:
run: ./SDL3-CS/build.sh
- name: Get Actions user id
if: ${{ runner.os }} == 'Linux'
id: get_uid
run: echo "uid=$(id -u $USER)" >> $GITHUB_OUTPUT
- name: Correct Ownership in GITHUB_WORKSPACE directory
if: ${{ runner.os }} == 'Linux'
uses: peter-murray/reset-workspace-ownership-action@v1
with:
user_id: ${{ steps.get_uid.outputs.uid }}