From 5ac48350eb261d44298757c165684d6b857bc461 Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Mon, 22 Nov 2021 17:19:41 +0100 Subject: [PATCH] Update rpmbuild.yml --- .github/workflows/rpmbuild.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rpmbuild.yml b/.github/workflows/rpmbuild.yml index ccc65fe..b9adacc 100644 --- a/.github/workflows/rpmbuild.yml +++ b/.github/workflows/rpmbuild.yml @@ -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