mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-17 10:25:56 +02:00
Use sudo to install packages
This commit is contained in:
parent
9ce05aafc4
commit
027b54fba7
@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
# Use dnf to install development packages
|
# Use dnf to install development packages
|
||||||
- name: Install development packages
|
- name: Install development packages
|
||||||
run: dnf --assumeyes --disableplugin=subscription-manager group install "Development Tools" "RPM Development Tools"
|
run: sudo dnf --assumeyes --disableplugin=subscription-manager group install "Development Tools" "RPM Development Tools"
|
||||||
|
|
||||||
# Checkout git repository and submodules
|
# Checkout git repository and submodules
|
||||||
# fetch-depth must be 0 to use git describe
|
# fetch-depth must be 0 to use git describe
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
# Use dnf to install build dependencies
|
# Use dnf to install build dependencies
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: dnf --assumeyes --disableplugin=subscription-manager builddep scripts/cc-metric-collector.spec
|
run: sudo dnf --assumeyes --disableplugin=subscription-manager builddep scripts/cc-metric-collector.spec
|
||||||
|
|
||||||
- name: RPM build MetricCollector
|
- name: RPM build MetricCollector
|
||||||
id: rpmbuild
|
id: rpmbuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user