]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ensure packages are up to date in CI runners
authorNick Porter <nick@portercomputing.co.uk>
Mon, 9 Sep 2024 16:31:58 +0000 (17:31 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 10 Sep 2024 10:10:47 +0000 (11:10 +0100)
.github/actions/freeradius-deps/action.yml

index 4e4a441464770dd58da057a34237aa1a0e51ff4d..237361e09492838e692f1b089c03b4887d7873a7 100644 (file)
@@ -32,6 +32,13 @@ runs:
         sudo dpkg-reconfigure man-db
         sudo sed -i 's/^update_initramfs=.*/update_initramfs=no/' /etc/initramfs-tools/update-initramfs.conf
 
+    - name: Ensure all packages are up to date
+      if: ${{ runner.os != 'macOS' }}
+      shell: bash
+      run: |
+        sudo apt-get update
+        sudo apt-get -y full-upgrade
+
     #
     # Basic package installation on Ubuntu24.04 fails with:
     #   ERROR: Operation {'runbindable'} cannot have a source. Source = AARE('/')