Archived
Fix version numbers and remove lint
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Build and provide rpm of the HuaFetcher CLI
|
||||
run-name: Rpmbuild hf-cli-rpm at ${{ gitea.repository }] by ${{ github.actor }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
fedora_release:
|
||||
type: choice
|
||||
description: "Choose a fedora release"
|
||||
required: true
|
||||
options:
|
||||
- "42"
|
||||
- "43"
|
||||
- "rawhide"
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f${{ 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 }}
|
||||
@@ -1,19 +0,0 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
run-name: Rpmbuild hf-cli by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f41-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Enable demus-40 repo
|
||||
run: |
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc41.repo
|
||||
microdnf config-manager setopt gitea-demus-demus-fc41.gpgcheck=0
|
||||
- name: Clone source from git
|
||||
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,14 +1,13 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
run-name: Rpmbuild hf-cli by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f42-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Enable demus-40 repo
|
||||
- name: Enable demus-42 repo
|
||||
run: |
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc41.repo
|
||||
microdnf config-manager setopt gitea-demus-demus-fc41.gpgcheck=0
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc42.repo
|
||||
- name: Clone source from git
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
|
||||
+5
-6
@@ -1,14 +1,13 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
name: Build and provide rpm of the HuaFetcher CLI
|
||||
run-name: Rpmbuild hf-cli by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f40-minimal-rpmbuild
|
||||
runs-on: f43-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Enable demus-40 repo
|
||||
- name: Enable demus-43 repo
|
||||
run: |
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc40.repo
|
||||
microdnf config-manager setopt gitea-demus-demus-fc40.gpgcheck=0
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc43.repo
|
||||
- name: Clone source from git
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build the rpms
|
||||
@@ -1,13 +1,13 @@
|
||||
name: Build and provide rpm of demus profiles
|
||||
run-name: Rpmbuild hf-cli by @${{ github.actor }}
|
||||
on: [ release ]
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: rawhide-minimal-rpmbuild
|
||||
steps:
|
||||
- name: Enable demus-40 repo
|
||||
- name: Enable demus-44 repo
|
||||
run: |
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc42.repo
|
||||
microdnf config-manager addrepo --overwrite --create-missing-dir --from-repofile=https://git.demus.dk/api/packages/demus/rpm/demus-fc44.repo
|
||||
microdnf config-manager setopt gitea-demus-demus-fc42.gpgcheck=0
|
||||
- name: Clone source from git
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
|
||||
Reference in New Issue
Block a user