mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-15 20:15:52 +00:00
Update validation.yml
This commit is contained in:
1 parent
7f468105c3
commit
8f56da4e7a
1 file changed
+1
-3
@@ -52,15 +52,13 @@ jobs:
|
||||
|
||||
- name: Validate Emails
|
||||
run: |
|
||||
npm install -g yarn
|
||||
|
||||
for file in ${{ steps.find_files.outputs.files }}; do
|
||||
filename=$(basename "$file")
|
||||
email=$(jq -r '.owner.email' "$file")
|
||||
|
||||
echo "Validating $email in $filename"
|
||||
|
||||
result=$(yarn run wdhdev/validate-email-action@main --email "$email")
|
||||
result=$(npx wdhdev/validate-email-action@main --email "$email")
|
||||
|
||||
if [[ -z $result ]]; then
|
||||
echo "::error::FAIL $email $filename"
|
||||
|
||||
Reference in new issue
Block a user