From 6a3d0e090c65c5d7685d1f8c37f3dffaac726071 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 2 Apr 2025 14:38:29 -0400 Subject: [PATCH] ci: update package management for `ui_preview` (#34967) * ci: update package management for `ui_preview` Add `apt-get update` before installing ImageMagick to ensure the package list is up-to-date. This prevents potential installation issues due to outdated package information. * test commit * try this * revert --- .github/workflows/ui_preview.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ui_preview.yaml b/.github/workflows/ui_preview.yaml index f3fdc270db..4e8338c483 100644 --- a/.github/workflows/ui_preview.yaml +++ b/.github/workflows/ui_preview.yaml @@ -82,7 +82,7 @@ jobs: if: github.event_name == 'pull_request_target' id: find_diff run: >- - sudo apt-get install -y imagemagick + sudo apt-get update && sudo apt-get install -y imagemagick scenes=$(find ${{ github.workspace }}/pr_ui/*.png -type f -printf "%f\n" | cut -d '.' -f 1 | grep -v 'pair_device') A=($scenes)