mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
[CI-CD] Updated workflows
This commit is contained in:
8
.github/workflows/fedora.yml
vendored
8
.github/workflows/fedora.yml
vendored
@@ -12,9 +12,6 @@ on:
|
||||
default: "0"
|
||||
required: false
|
||||
type: string
|
||||
version:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -34,6 +31,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Prepare - install build dependencies
|
||||
if: inputs.to_release == 1
|
||||
run: |
|
||||
dnf -y install \
|
||||
cmake \
|
||||
@@ -46,18 +44,22 @@ jobs:
|
||||
tar
|
||||
|
||||
- name: Prepare - setup RPM build tree
|
||||
if: inputs.to_release == 1
|
||||
run: |
|
||||
rpmdev-setuptree
|
||||
|
||||
- name: Prepare - configure the source
|
||||
if: inputs.to_release == 1
|
||||
run: |
|
||||
cmake -B $(pwd)/build -S $(pwd)
|
||||
|
||||
- name: Build - create source tarball and SRPM package
|
||||
if: inputs.to_release == 1
|
||||
run: |
|
||||
cmake --build $(pwd)/build --target srpm
|
||||
|
||||
- name: Build - create RPM package
|
||||
if: inputs.to_release == 1
|
||||
run: |
|
||||
cmake --build $(pwd)/build --target rpms
|
||||
|
||||
|
||||
Reference in New Issue
Block a user