Skip to content

Commit

Permalink
update .pot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Jan 25, 2024
1 parent 7f402fb commit c1f113b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ jobs:
tail -n +16 old.pot > old-trimmed.pot
# Compare the trimmed files
diff --version
diff --help
diff --exit-code old-trimmed.pot new-trimmed.pot || echo "::set-output name=changes::true"
if diff old-trimmed.pot new-trimmed.pot; then
echo "No changes detected."
else
echo "::set-output name=changes::true"
fi

# Clean up temporary files
rm old.pot new-trimmed.pot old-trimmed.pot
Expand Down

0 comments on commit c1f113b

Please sign in to comment.