Browse Source

fix(ci): run apt-get update before installing Details Check dependencies (#4992)

The runner image's package index goes stale. Ubuntu replaced the
libxml2-utils build it lists, so apt-get install got a 404 and the
details-check job failed before any LinuxGSM code ran.
Daniel Gibbs 1 tuần trước cách đây
mục cha
commit
fe8e3afc67
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      .github/workflows/action-details-check.yml

+ 1 - 1
.github/workflows/action-details-check.yml

@@ -107,7 +107,7 @@ jobs:
           key: apt-${{ runner.os }}-libxml2-utils-jq
 
       - name: Install dependencies
-        run: sudo apt-get install -y --no-install-recommends libxml2-utils jq
+        run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libxml2-utils jq
 
       - name: Create serverfiles directory
         run: mkdir -p serverfiles