0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Fix build permissions in workflow

This commit is contained in:
Andrey Onischenko 2024-07-15 09:13:41 +03:00 committed by GitHub
parent 744e83a774
commit a4ea3e1164
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,10 +29,10 @@ jobs:
run: mkdir -p dist run: mkdir -p dist
- name: Fix permissions for build - name: Fix permissions for build
run: mkdir /home/build && chgrp nobody /home/build && chmod g+ws /home/build && setfacl -m u::rwx,g::rwx /home/build && setfacl -d --set u::rwx,g::rwx,o::- /home/build && chown nobody . run: mkdir /home/build && chgrp nobody /home/build && chmod g+ws /home/build && setfacl -m u::rwx,g::rwx /home/build && setfacl -d --set u::rwx,g::rwx,o::- /home/build && chown nobody . && mkdir -p arch && chown nobody arch
- name: Make Arch package - name: Make Arch package
run: mkdir -p arch && cp PKGBUILD arch && cd arch && sudo -u nobody makepkg -d --log && mv *.pkg.tar.zst ../dist/ && cd .. && rm -rf arch run: cp PKGBUILD arch && cd arch && sudo -u nobody makepkg -d --log && mv *.pkg.tar.zst ../dist/ && cd .. && rm -rf arch
- name: Build tarball packages - name: Build tarball packages
run: bash ./build_tarball.sh -a all && cp tar/* dist/ run: bash ./build_tarball.sh -a all && cp tar/* dist/