mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-27 07:39:05 +01:00
Create rpmbuild.yml
This commit is contained in:
parent
728b5f3e48
commit
14fdb28d51
20
.github/workflows/rpmbuild.yml
vendored
Normal file
20
.github/workflows/rpmbuild.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: RPM Build
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: alpine_latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: build RPM package
|
||||||
|
id: rpm
|
||||||
|
uses: naveenrajm7/rpmbuild@master
|
||||||
|
with:
|
||||||
|
spec_file: "scripts/cc-metric-collector.spec"
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: Binary RPM
|
||||||
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
Loading…
Reference in New Issue
Block a user