]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Run apt-get update first
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 9 Jun 2022 19:26:40 +0000 (13:26 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 9 Jun 2022 19:26:40 +0000 (13:26 -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 7571be0daae206b079fad5baabfaf52fd9a227d2..a33ff7cd3c489d35c2cf6f20b74a0869bc5a8620 100644 (file)
@@ -73,7 +73,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
@@ -122,7 +124,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