Add gitea workflows
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name: Build and provide rpm of gitea
|
||||
run-name: Build gitea from ${{ gitea.repository }} on COPR
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
strategy:
|
||||
matrix:
|
||||
fedoraversion: [f43, rawhide]
|
||||
runs-on: ${{ matrix.fedoraversion }}-minimal-copr
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build src.rpm and send to COPR
|
||||
uses: https://git.demus.dk/actions/copr-build@main
|
||||
with:
|
||||
copr_config: ${{ secrets.COPR_API_CONFIG }}
|
||||
copr_project: packages
|
||||
fedora_release: f43
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Build and provide rpm of gitea
|
||||
run-name: Build gitea from ${{ gitea.repository }} on COPR
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
fedoraversion:
|
||||
type: choice
|
||||
description: "Choose a fedora release"
|
||||
required: true
|
||||
options: [f43, rawhide]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: ${{ inputs.fedoraversion }}-minimal-copr
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build src.rpm and send to COPR
|
||||
uses: https://git.demus.dk/actions/copr-build@main
|
||||
with:
|
||||
copr_config: ${{ secrets.COPR_API_CONFIG }}
|
||||
copr_project: packages
|
||||
fedora_release: ${{ inputs.fedoraversion }}
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
run-name: Rpmbuild demus-profile at ${{ gitea.repository }} by ${{ github.actor }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
runsonlabel:
|
||||
type: choice
|
||||
description: "Choose a label"
|
||||
required: true
|
||||
options: [ f42, f43, rawhide ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: ${{ inputs.runsonlabel }}-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,18 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
run-name: Rpmbuild demus-profile by @${{ github.actor }}
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
strategy:
|
||||
matrix:
|
||||
rpmbuilder: [ f42, f43, rawhide ]
|
||||
runs-on: ${{ matrix.rpmbuilder }}-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 }}
|
||||
+1
-1
@@ -51,7 +51,7 @@ Easy Bash Gui shortened as EBG, is a Posix compliant Bash functions library that
|
||||
%license %{_defaultdocdir}/%{name}/LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
%{_libdir}/%{name}/*
|
||||
%{_prefix}/lib/%{name}/*
|
||||
%{_datadir}/%{name}/*
|
||||
%{_mandir}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user