fix(web): shadcn/ui updater

This commit is contained in:
Collin Barrett 2025-06-15 15:35:13 -05:00 committed by Collin Barrett
parent ccefd1c91e
commit ce245c8fd2

View file

@ -1,4 +1,4 @@
name: "shadcn/ui Component Updater"
name: "Web (next) - Update shadcn/ui Components"
on:
workflow_dispatch:
@ -33,6 +33,7 @@ jobs:
UPDATES=$(npx shadcn@latest diff || true)
if [[ $UPDATES == *"No updates available."* || -z "$UPDATES" ]]; then
echo "updates=false" >> $GITHUB_OUTPUT
rm -f shadcn-updates.txt
else
echo "$UPDATES" > shadcn-updates.txt
echo "updates=true" >> $GITHUB_OUTPUT