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: 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