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:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user