Fix owner after checkout
This commit is contained in:
parent
769cb2e205
commit
3e5cf7a5c7
8
.github/workflows/ci_msw_cross.yml
vendored
8
.github/workflows/ci_msw_cross.yml
vendored
@ -112,8 +112,14 @@ jobs:
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Set environment variables
|
||||
- name: System and environment setup
|
||||
run: |
|
||||
normal_uid=`id --user`
|
||||
|
||||
# The checkout actions runs as root and there doesn't seem to be any
|
||||
# way to change this, so just adjust the owner after checkout.
|
||||
sudo chown -R $normal_uid $GITHUB_WORKSPACE
|
||||
|
||||
echo "WINEPATH=$(winepath --windows $(pwd)/lib)" >> $GITHUB_ENV
|
||||
|
||||
cpu_count=`nproc`
|
||||
|
Loading…
Reference in New Issue
Block a user