github-ci: re-enable RPM builds

The RPM has been updated to handle the conversion of suricatasc and
suricatactl to Rust.

Also fixes the "if" expression to prevent one job running both upload
sections.
pull/12693/head
Jason Ish 5 months ago committed by Victor Julien
parent 9b088ed018
commit 1b27febdd8

@ -401,7 +401,7 @@ jobs:
- almalinux:9 - almalinux:9
- fedora:40 - fedora:40
env: env:
skip: true skip: false
steps: steps:
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
@ -456,13 +456,13 @@ jobs:
# We need a step for each RPM upload as we can't use the # We need a step for each RPM upload as we can't use the
# container name directly in an artifact, as artifacts can't # container name directly in an artifact, as artifacts can't
# have ':' in the name. # have ':' in the name.
- if: matrix.container == 'fedora:40' && ${{ env.skip != 'true' }} - if: ${{ matrix.container == 'fedora:40' && env.skip != 'true' }}
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
name: Uploading RPMs name: Uploading RPMs
with: with:
name: rpms-fedora-40 name: rpms-fedora-40
path: suricata-rpms/devel/rpms path: suricata-rpms/devel/rpms
- if: matrix.container == 'almalinux:9' && ${{ env.skip != 'true' }} - if: ${{ matrix.container == 'almalinux:9' && env.skip != 'true' }}
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
name: Uploading RPMs name: Uploading RPMs
with: with:

Loading…
Cancel
Save