From: Numan Siddique <[email protected]>

Update the apt cache before installing dependencies in
the multinode test jobs, otherwise installing depencies
may fail if the cache is out dated.

Suggested-by: Ilya Maximetes <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
---
 .github/workflows/ovn-fake-multinode-tests.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ovn-fake-multinode-tests.yml 
b/.github/workflows/ovn-fake-multinode-tests.yml
index e24d8ce873..9c10a8fc01 100644
--- a/.github/workflows/ovn-fake-multinode-tests.yml
+++ b/.github/workflows/ovn-fake-multinode-tests.yml
@@ -100,7 +100,9 @@ jobs:
 
     steps:
     - name: install required dependencies
-      run:  sudo apt install -y ${{ env.dependencies }}
+      run:  |
+        sudo apt update
+        sudo apt install -y ${{ env.dependencies }}
 
     - name: Free up disk space
       run: sudo eatmydata apt-get remove --auto-remove -y aspnetcore-* 
dotnet-* libmono-* mono-* msbuild php-* php7* ghc-* zulu-*
-- 
2.39.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to