Skip to content

wget sources first

wget sources first #14

Workflow file for this run

name: RPM Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: grab sources
run: wget https://github.com/ITRS-Group/monitor-merlin/archive/refs/tags/v2022.06.02.tar.gz
working-directory: /github/home/rpmbuild/SOURCES/
- name: build RPM package
id: rpm
uses: UCBoulder/oit-sepe-rpmbuild@master
with:
spec_file: "merlin.spec"
additional_repos: '["epel-release", "https://labs.consol.de/repo/stable/rhel8/x86_64/labs-consol-stable.rhel8.noarch.rpm"]'
- name: Upload artifact
uses: actions/[email protected]
with:
name: Binary RPM
path: ${{ steps.rpm.outputs.rpm_dir_path }}