Testing Workflow

This commit is contained in:
Christian Tosta
2025-04-18 05:47:19 -03:00
parent 5cf34fb6e7
commit 9825df6a89

View File

@@ -3,8 +3,10 @@ name: Build RPM Package
on: on:
push: push:
branches: [ workflows ] branches: [ workflows ]
tags: '*.*.*'
pull_request: pull_request:
branches: [ workflows ] branches: [ workflows ]
tags: '*.*.*'
jobs: jobs:
build-rpm: build-rpm:
@@ -46,12 +48,12 @@ jobs:
build/CPackConfig.cmake) \ build/CPackConfig.cmake) \
" >> $GITHUB_ENV " >> $GITHUB_ENV
- name: Push Git Tag # - name: Push Git Tag
run: | # run: |
git config user.name "GitHub Actions" # git config user.name "GitHub Actions"
git config user.email "github-actions@users.noreply.github.com" # git config user.email "github-actions@users.noreply.github.com"
git tag ${PKG_VERSION} # git tag ${PKG_VERSION}
git push origin ${PKG_VERSION} # git push origin ${PKG_VERSION}
- name: Copy SOURCES and SPEC file - name: Copy SOURCES and SPEC file
run: | run: |