Testing Workflow

This commit is contained in:
Christian Tosta
2025-04-18 06:24:58 -03:00
parent 7c3ac02c85
commit c3e7f84ea4

View File

@@ -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 .