mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 18:24:14 -04:00
Fixing root group for macos
This commit is contained in:
parent
17f043f79d
commit
df2ce5c05e
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -38,7 +38,8 @@ jobs:
|
|||||||
if [[ "${{runner.os}}" == "Windows" ]]; then
|
if [[ "${{runner.os}}" == "Windows" ]]; then
|
||||||
cd dist && 7z a "../$assets.zip"
|
cd dist && 7z a "../$assets.zip"
|
||||||
else
|
else
|
||||||
sudo chown root:root -R dist
|
rootgrp=$([ "${{runner.os}}" == "macOS" ] && echo wheel || echo root)
|
||||||
|
sudo chown root:$rootgrp -R dist
|
||||||
tar -C dist -czf "$assets.tar.gz" .
|
tar -C dist -czf "$assets.tar.gz" .
|
||||||
fi
|
fi
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user