Update rpmbuild.yml

This commit is contained in:
Thomas Gruber 2021-11-22 17:19:41 +01:00 committed by GitHub
parent 531761d323
commit 5ac48350eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,17 +7,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Golang
run: |
sudo apt install -y golang
- name: Setup Golang
uses: actions/setup-go@v2.1.4
- name: build RPM package
- name: Build RPM package
id: rpm
uses: naveenrajm7/rpmbuild@centos8
with:
spec_file: "scripts/cc-metric-collector.spec"
run: |
sudo yum install golang
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0