1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-12-13 14:33:21 +00:00

build: create RPM package (#57)

This commit is contained in:
2025-11-27 12:08:55 +01:00
committed by GitHub
parent c360c4d317
commit 5cc037a086
2 changed files with 9 additions and 4 deletions

View File

@@ -35,17 +35,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup
run: cargo install cargo-deb
run: sudo apt update && sudo apt install rpm && cargo install cargo-deb && cargo install cargo-generate-rpm
- name: Run tests
run: cargo test --verbose
- run: make linux-package linux-deb
- run: make linux-package linux-deb linux-rpm
- name: Release
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
uses: softprops/action-gh-release@v2
with:
files: |
*linux.tar.gz
*amd65.deb
*.tar.gz
*.deb
*.rpm
windowsbuild:
name: Create Windows Package
runs-on: windows-latest