mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Update rpmbuild.yml
This commit is contained in:
parent
531761d323
commit
5ac48350eb
9
.github/workflows/rpmbuild.yml
vendored
9
.github/workflows/rpmbuild.yml
vendored
@ -7,17 +7,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Golang
|
- name: Setup Golang
|
||||||
run: |
|
uses: actions/setup-go@v2.1.4
|
||||||
sudo apt install -y golang
|
|
||||||
|
|
||||||
- name: build RPM package
|
- name: Build RPM package
|
||||||
id: rpm
|
id: rpm
|
||||||
uses: naveenrajm7/rpmbuild@centos8
|
uses: naveenrajm7/rpmbuild@centos8
|
||||||
with:
|
with:
|
||||||
spec_file: "scripts/cc-metric-collector.spec"
|
spec_file: "scripts/cc-metric-collector.spec"
|
||||||
run: |
|
|
||||||
sudo yum install golang
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
Loading…
Reference in New Issue
Block a user