Skip to content

Commit

Permalink
Build packages also for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolopez committed Mar 24, 2022
1 parent 703cf0c commit 22711ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Create RPM and DEB packages on release

on:
push:
tags:
- '*'
release:
types: [created]

Expand Down Expand Up @@ -46,6 +49,7 @@ jobs:
os_distribution: stable

- name: Update DEB artifacts to release
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: 'output/*deb'
Expand Down Expand Up @@ -73,6 +77,7 @@ jobs:
spec_file: "packaging/redhat/caso.spec"

- name: Update RPM artifacts to release
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '${{ steps.rpm.outputs.rpm_dir_path }}/*/*rpm'
Expand Down

0 comments on commit 22711ca

Please sign in to comment.