Skip to content

Commit 399915a

Browse files
committed
workflow: Add fix missing and apt update before trying to install VRF module
Signed-off-by: Alin Gabriel Serdean <[email protected]>
1 parent 06acc8d commit 399915a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ jobs:
200200
if: steps.is_pr_image_build_needed.outputs.PR_IMAGE_RESTORED != 'true' && success()
201201
run: |
202202
set -x
203+
sudo apt update
203204
sudo apt-get install linux-modules-extra-$(uname -r) -y
204205
sudo modprobe vrf
205206
@@ -500,6 +501,7 @@ jobs:
500501
- name: Install VRF kernel module
501502
run: |
502503
set -x
504+
sudo apt update
503505
sudo apt-get install linux-modules-extra-$(uname -r) -y
504506
sudo modprobe vrf
505507

0 commit comments

Comments
 (0)