mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-19 19:21:41 +02:00
Add CentOS Latest and AlmaLinux 8.5 to RPM action
This commit is contained in:
parent
5f44fc7a16
commit
0f375976a8
40
.github/workflows/rpmbuild.yml
vendored
40
.github/workflows/rpmbuild.yml
vendored
@ -2,7 +2,7 @@ name: Run RPM Build
|
|||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-centos8:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -21,3 +21,41 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: cc-metric-collector SRPM CentOS8
|
name: cc-metric-collector SRPM CentOS8
|
||||||
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
||||||
|
build-centos-latest:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: TomTheBear/rpmbuild@centos_latest
|
||||||
|
id: rpm
|
||||||
|
name: Build RPM package on CentOS 'Latest'
|
||||||
|
with:
|
||||||
|
spec_file: "./scripts/cc-metric-collector.spec"
|
||||||
|
- name: Save RPM as artifact
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: cc-metric-collector RPM CentOS 'Latest'
|
||||||
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
||||||
|
- name: Save SRPM as artifact
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: cc-metric-collector SRPM CentOS 'Latest'
|
||||||
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
||||||
|
build-alma8.5:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: TomTheBear/rpmbuild@alma8.5
|
||||||
|
id: rpm
|
||||||
|
name: Build RPM package on AlmaLinux 8.5
|
||||||
|
with:
|
||||||
|
spec_file: "./scripts/cc-metric-collector.spec"
|
||||||
|
- name: Save RPM as artifact
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: cc-metric-collector RPM AlmaLinux 8.5
|
||||||
|
path: ${{ steps.rpm.outputs.rpm_dir_path }}
|
||||||
|
- name: Save SRPM as artifact
|
||||||
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
with:
|
||||||
|
name: cc-metric-collector SRPM AlmaLinux 8.5
|
||||||
|
path: ${{ steps.rpm.outputs.source_rpm_path }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user