ZFS packages for Fedora, CentOS Stream & RHEL for the aarch64 architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
951 B

name: Trigger COPR Build
on:
# Trigger on push, but only for SPECS and SOURCES changes
push:
paths:
- fedora-*/SPECS/*.spec
- fedora-*/SOURCES/**
- centos-*/SPECS/*.spec
- centos-*/SOURCES/**
# Enables manual triggering of the workflow
workflow_dispatch:
jobs:
build-copr:
runs-on: ubuntu-latest
# Defines the Fedora container for this job
container:
image: fedora:latest
steps:
# 1. Install pre-requisites
- name: Install copr-cli
run: dnf install -y copr-cli git git-lfs
# 2. Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
lfs: true
# 3. Run the build script
- name: Run COPR build script
run: ./build.sh
# Inject secrets into the container as environment variables
env:
COPR_CONFIG: ${{ secrets.COPR_CONFIG }}