generated from demus/basic-rpm-template
Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Build and provide rpm of demus-packaging-utils
|
||||
run-name: Rpmbuild demus-packaging-utils at ${{ gitea.repository }} by ${{ github.actor }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
fedoraversion:
|
||||
type: choice
|
||||
description: "Choose a fedora version"
|
||||
required: true
|
||||
options: [ f42, f43, f44, rawhide ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
name: Build and deploy an rpm to the demus.dk repo
|
||||
runs-on: ${{ inputs.fedoraversion }}-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Build and provide rpm of demus-packaging-utils
|
||||
run-name: Rpmbuild demus-packaging-utils by ${{ github.actor }} by ${{ github.actor }}
|
||||
on: [ release ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
name: Build and deploy an rpm to the demus.dk repo
|
||||
strategy:
|
||||
matrix:
|
||||
fedoraversion: [ f42, f43, f44, rawhide ]
|
||||
runs-on: ${{ matrix.fedoraversion }}-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
uses: https://git.demus.dk/actions/rpmbuild@main
|
||||
- name: Deploy to packages
|
||||
uses: https://git.demus.dk/actions/rpm-deploy@main
|
||||
with:
|
||||
pat: ${{ secrets.RPM_REPO_WRITE }}
|
||||
Reference in New Issue
Block a user