mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[chore] added rpm build for linux
This commit is contained in:
@@ -24,14 +24,15 @@ jobs:
|
||||
with:
|
||||
node-version: 22.11.0
|
||||
cache: "npm"
|
||||
|
||||
# Install and setup rpm/Flatpak for Ubuntu
|
||||
- name: Install rpm/flatpak packages (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install -y flatpak flatpak-builder rpm libarchive-tools
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run package
|
||||
|
||||
# Install and setup Flatpak for Ubuntu
|
||||
- name: Install flatpak packages (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install -y flatpak flatpak-builder
|
||||
|
||||
- name: Setup flatpak repo (Ubuntu only)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
|
||||
@@ -20,8 +20,8 @@ jobs:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install flatpak packages
|
||||
run: sudo apt-get install -y flatpak flatpak-builder
|
||||
- name: Install rpm/flatpak packages
|
||||
run: sudo apt-get install -y flatpak flatpak-builder rpm libarchive-tools
|
||||
|
||||
- name: Setup flatpak repo
|
||||
run: |
|
||||
@@ -39,6 +39,9 @@ jobs:
|
||||
- name: Build deb
|
||||
run: npx electron-builder --config electron-builder.config.js --publish always --linux deb --x64
|
||||
|
||||
- name: Build rpm
|
||||
run: npx electron-builder --config electron-builder.config.js --publish always --linux rpm --x64
|
||||
|
||||
- name: Build flatpak
|
||||
run: env DEBUG="@malept/flatpak-bundler" npx electron-builder --config electron-builder.config.js --publish always --linux flatpak
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ const config = {
|
||||
linux: {
|
||||
target: [
|
||||
"deb",
|
||||
"rpm",
|
||||
],
|
||||
icon: "./build/icons/png",
|
||||
category: "Utility;Game;",
|
||||
|
||||
Reference in New Issue
Block a user