0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

RPM Building Support

This commit is contained in:
Andrey Onishchenko
2024-03-09 21:09:24 +03:00
parent bf7fd0cc13
commit a3d85f449c
4 changed files with 154 additions and 2 deletions

View File

@@ -22,8 +22,7 @@ jobs:
image: archlinux:latest
steps:
- name: Install packages
run: pacman -Syy --noconfirm && pacman -S --noconfirm git sudo base-devel p7zip nodejs jq asar electron27 libpulse dpkg unzip xdg-utils python
run: pacman -Syy --noconfirm && pacman -S --noconfirm git sudo base-devel p7zip nodejs jq asar electron27 libpulse dpkg unzip xdg-utils python rpm-tools
- name: Checkout
uses: actions/checkout@v4
with:
@@ -44,6 +43,9 @@ jobs:
- name: Build Deb packages
run: bash ./build_deb.sh -a all && mv deb/*.deb dist
- name: Build RPM packages
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
@@ -65,6 +67,12 @@ jobs:
path: ./dist/*.deb
name: deb-packages
- name: Upload RPM artifact
uses: actions/upload-artifact@v4
with:
path: ./dist/*.rpm
name: rpm-packages
- name: Upload Asar artifacts
uses: actions/upload-artifact@v4
with: