Update validation.yml

This commit is contained in:
William Harrison authored and GitHub committed 2023-05-27 12:26:14 +08:00
1 parent 7f468105c3
commit 8f56da4e7a
1 file changed
+1 -3
+1 -3
View File
@@ -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"