Set ouptput variables in workflow AlmaLinux.yml

This commit is contained in:
Holger Obermaier 2022-03-01 10:23:46 +01:00
parent 3f16fb9f0b
commit e81b00bf65
2 changed files with 8 additions and 2 deletions

View File

@ -36,7 +36,13 @@ jobs:
go-version: '^1.16.7'
- name: RPM build MetricCollector
run: make rpm
run: |
make RPM
RPM=~/rpmbuild/RPMS/*/*.rpm
SRPM=~/rpmbuild/SRPMS/*.src.rpm
echo ::set-output name="SRPM::${SRPM}"
echo ::set-output name="RPM::${RPM}"
echo ::set-output name="rpm_content_type::application/octet-stream"
# See: https://github.com/actions/download-artifact
- name: Save RPM as artifact

View File

@ -1,5 +1,5 @@
Name: cc-metric-collector
Version: 0.2
Version: %{VERS}
Release: 1%{?dist}
Summary: Metric collection daemon from the ClusterCockpit suite