rpmbuilder/.gitea/workflows/build.yaml
Ben Vincent adedeed725
All checks were successful
Build / build-8 (pull_request) Successful in 1m1s
Build / build-9 (pull_request) Successful in 2m4s
feat: add multi-release build jobs
- update build/deploy to be multiple jobs
- update to use multiple artifacts
2024-12-21 00:09:43 +11:00

56 lines
1.1 KiB
YAML

name: Build
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
build-8:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8-runnerdnd:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Packages
run: |
make all
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: rpms-8
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm
build-9:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux9-runnerdnd:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Packages
run: |
make all
- name: Show RPMs
run: |
find /workspace -type f -name "*.rpm"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: rpms-9
path: /workspace/unkin/rpmbuilder/dist/*/*.rpm