From c3e7f84ea474e3a7337d80cd52ea71f99d08d003 Mon Sep 17 00:00:00 2001 From: Christian Tosta Date: Fri, 18 Apr 2025 06:24:58 -0300 Subject: [PATCH] Testing Workflow --- .github/workflows/build-rpm.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-rpm.yml b/.github/workflows/build-rpm.yml index 6d13952..fc6cbbf 100644 --- a/.github/workflows/build-rpm.yml +++ b/.github/workflows/build-rpm.yml @@ -2,21 +2,19 @@ name: Build RPM Package on: push: - branches: [ workflows ] - if: github.ref_type == 'tag' - tags: '*.*.*' - pull_request: - branches: [ workflows ] - if: github.ref_type == 'tag' - tags: '*.*.*' + tags: + - v[0-9]+.[0-9]+.[0-9]+ jobs: build-rpm: + name: Build and upload RPM packages runs-on: ubuntu-latest container: image: fedora:latest steps: + - uses: actions/checkout@v4 + - name: install RPM build tools run: | dnf -y install \ @@ -32,9 +30,6 @@ jobs: run: | rpmdev-setuptree - - name: Checkout source code - uses: actions/checkout@v3 - - name: Create source tarball run: | cmake -B build -S .