Fix update from ci script on linux (#7113)

Apparently MacOS is case insensitive 😬
This commit is contained in:
Lucas Meurer 2025-06-04 10:10:47 +02:00 committed by GitHub
parent 417fdb1a43
commit 6d04140736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# This script searches for the last CI run with your branch name, downloads the test_results artefact
# and replaces your existing snapshots with the new ones.
# Make sure you have the gh cli installed and authenticated before running this script.
# If prompted to select a default repo, choose the emilk/egui one
set -eu
@ -9,7 +10,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD)
RUN_ID=$(gh run list --branch "$BRANCH" --workflow "Rust" --json databaseId -q '.[0].databaseId')
ECHO "Downloading test results from run $RUN_ID from branch $BRANCH"
echo "Downloading test results from run $RUN_ID from branch $BRANCH"
# remove any existing .new.png that might have been left behind
find . -type d -path "*/tests/snapshots*" | while read dir; do