mirror of
https://github.com/ekaaty/ca-certificates-brazil.git
synced 2025-12-06 01:22:38 -03:00
Testing Workflow
This commit is contained in:
15
.github/workflows/build-rpm.yml
vendored
15
.github/workflows/build-rpm.yml
vendored
@@ -2,21 +2,19 @@ name: Build RPM Package
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ workflows ]
|
tags:
|
||||||
if: github.ref_type == 'tag'
|
- v[0-9]+.[0-9]+.[0-9]+
|
||||||
tags: '*.*.*'
|
|
||||||
pull_request:
|
|
||||||
branches: [ workflows ]
|
|
||||||
if: github.ref_type == 'tag'
|
|
||||||
tags: '*.*.*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-rpm:
|
build-rpm:
|
||||||
|
name: Build and upload RPM packages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install RPM build tools
|
- name: install RPM build tools
|
||||||
run: |
|
run: |
|
||||||
dnf -y install \
|
dnf -y install \
|
||||||
@@ -32,9 +30,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rpmdev-setuptree
|
rpmdev-setuptree
|
||||||
|
|
||||||
- name: Checkout source code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Create source tarball
|
- name: Create source tarball
|
||||||
run: |
|
run: |
|
||||||
cmake -B build -S .
|
cmake -B build -S .
|
||||||
|
|||||||
Reference in New Issue
Block a user