]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: re-enable RPM builds
authorJason Ish <jason.ish@oisf.net>
Thu, 27 Feb 2025 16:02:23 +0000 (10:02 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 28 Feb 2025 06:08:22 +0000 (07:08 +0100)
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.

.github/workflows/builds.yml

index fe3c454728950e2540109481b92a027086627d4d..9c96bb012327235ffe1ee329b78488cac1e0bc28 100644 (file)
@@ -401,7 +401,7 @@ jobs:
           - almalinux:9
           - fedora:40
     env:
-      skip: true
+      skip: false
     steps:
       - name: Cache cargo registry
         uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
@@ -456,13 +456,13 @@ jobs:
       # We need a step for each RPM upload as we can't use the
       # container name directly in an artifact, as artifacts can't
       # 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
         name: Uploading RPMs
         with:
           name: rpms-fedora-40
           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
         name: Uploading RPMs
         with: