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

Workflow fix

This commit is contained in:
Andrey Onishchenko 2024-07-19 19:14:18 +03:00
parent ad45b1935d
commit 7c46e1f25e

View File

@ -32,7 +32,7 @@ jobs:
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 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: 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/ && mv ./src/app/yandex-music.asar ../dist/ && mv ./src/app/release_notes.json ../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/
@ -43,9 +43,6 @@ jobs:
- name: Build RPM packages - name: Build RPM packages
run: bash ./build_rpm.sh && mv rpm/*.rpm dist run: bash ./build_rpm.sh && mv rpm/*.rpm dist
- name: Retrieve Asar and release notes
run: mv ./src/app/yandex-music.asar dist/yandex-music.asar && mv ./src/app/release_notes.json dist/release_notes.json
- name: Upload Arch artifacts - name: Upload Arch artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: