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:
16
.github/workflows/build-rpm.yml
vendored
16
.github/workflows/build-rpm.yml
vendored
@@ -30,6 +30,8 @@ jobs:
|
||||
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Create source tarball
|
||||
run: |
|
||||
@@ -44,6 +46,13 @@ jobs:
|
||||
build/CPackConfig.cmake) \
|
||||
" >> $GITHUB_ENV
|
||||
|
||||
- name: Push Git Tag
|
||||
run: |
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email "github-actions@users.noreply.github.com"
|
||||
git tag ${PKG_VERSION}
|
||||
git push origin ${PKG_VERSION}
|
||||
|
||||
- name: Copy SOURCES and SPEC file
|
||||
run: |
|
||||
cp packaging/pkg.spec.in ~/rpmbuild/SPECS/${PKG_NAME}.spec
|
||||
@@ -63,13 +72,6 @@ jobs:
|
||||
~/rpmbuild/RPMS/
|
||||
~/rpmbuild/SRPMS/
|
||||
|
||||
- name: Push Git Tag
|
||||
run: |
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email "github-actions@users.noreply.github.com"
|
||||
git tag ${PKG_VERSION}
|
||||
git push origin ${PKG_VERSION}
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: github.ref_type == 'tag'
|
||||
|
||||
Reference in New Issue
Block a user