Parcourir la 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 il y a 1 semaine
Parent
commit
fe8e3afc67
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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