mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
Updated Fedora build CI
This commit is contained in:
7
.github/workflows/fedora.yml
vendored
7
.github/workflows/fedora.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
version:
|
version:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -45,15 +45,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
run: |
|
run: |
|
||||||
# echo "PKG_VERSION=$(cat build/version)" >> $GITHUB_ENV
|
echo "PKG_VERSION=$(cat build/version)" >> $GITHUB_ENV
|
||||||
echo "PKG_NAME=$(grep -Po 'Name:\ *\K[\S ]*' \
|
echo "PKG_NAME=$(grep -Po 'Name:\ *\K[\S ]*' \
|
||||||
packaging/pkg.spec.in)" >> $GITHUB_ENV
|
packaging/pkg.spec.in)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Copy SOURCES and SPEC file
|
- name: Copy SOURCES and SPEC file
|
||||||
run: |
|
run: |
|
||||||
cp packaging/pkg.spec.in ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
cp packaging/pkg.spec.in ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
||||||
# rpmdev-bumpspec -n ${PKG_VERSION} ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
rpmdev-bumpspec -n ${PKG_VERSION} ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
||||||
rpmdev-bumpspec -n ${{ inputs.version }} ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
|
||||||
cp dist/*.src.tar.gz ~/rpmbuild/SOURCES/
|
cp dist/*.src.tar.gz ~/rpmbuild/SOURCES/
|
||||||
|
|
||||||
- name: Build RPM packages
|
- name: Build RPM packages
|
||||||
|
|||||||
Reference in New Issue
Block a user