mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(web): shadcn/ui updater
This commit is contained in:
parent
ccefd1c91e
commit
ce245c8fd2
1 changed files with 2 additions and 1 deletions
3
.github/workflows/web-shadcn-updater.yml
vendored
3
.github/workflows/web-shadcn-updater.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue