]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Run apt-get update first
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 9 Jun 2022 18:59:27 +0000 (12:59 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 9 Jun 2022 18:59:27 +0000 (12:59 -0600)
Run apt-get update prior to running apt-get install

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/workflows/continuous-integration.yml

index 0d5c77ce134c59c787fdb5db2c6def6d98b3a32a..e7432093cd3667075fbfe9be6ed8dd463bf3096d 100644 (file)
@@ -113,7 +113,9 @@ jobs:
 
     steps:
     - name: Install container dependencies
-      run: sudo apt-get install lxc lxd
+      run: |
+        sudo apt-get update
+        sudo apt-get install lxc lxd
     - uses: actions/checkout@v2
       with:
         submodules: false
@@ -133,7 +135,9 @@ jobs:
 
     steps:
     - name: Install container dependencies
-      run: sudo apt-get install lxc lxd
+      run: |
+        sudo apt-get update
+        sudo apt-get install lxc lxd
     - uses: actions/checkout@v2
       with:
         submodules: false
@@ -188,7 +192,9 @@ jobs:
         sudo su -c "echo +cpuset > /sys/fs/cgroup/unified/cgroup.subtree_control"
         cat /sys/fs/cgroup/unified/cgroup.subtree_control
     - name: Install container dependencies
-      run: sudo apt-get install lxc lxd
+      run: |
+        sudo apt-get update
+        sudo apt-get install lxc lxd
     - uses: actions/checkout@v2
       with:
         submodules: false