]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add a second run of installing rpm build dependencies
authorNick Porter <nick@portercomputing.co.uk>
Thu, 19 May 2022 11:13:24 +0000 (12:13 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 20 May 2022 09:45:28 +0000 (10:45 +0100)
It has been observed that not all dependencies get installed first time
on Rocky 8

.github/workflows/ci-rpm.yml

index 52e769c47b7a3e3cb7973c8e5cad3de120c3ced5..39bbd66921a20d0d7b81bb32f943c1aa8b3bbddc 100644 (file)
@@ -111,6 +111,15 @@ jobs:
       run: |
         yum-builddep -y freeradius/redhat/freeradius.spec
 
+    #
+    #  It has been observed that sometimes not all the dependencies are
+    #  installed on the first go.  Give it a second chance.
+    #
+    - name: Second run of install build dependencies
+      run: |
+        yum-builddep -y redhat/freeradius.spec
+      working-directory: freeradius
+
     - name: Show versions
       run: |
         $CC --version