Skip to content

Commit

Permalink
Update icon-generator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 authored Nov 30, 2023
1 parent b856023 commit 6ae8822
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/icon-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ jobs:
- name: Check for changes
id: check-changes
run: |
git diff --exit-code || echo "Changes detected"
echo "Result: ${{ steps.check-changes.outputs.result }}"
if git diff --quiet; then
echo "::set-output name=result::No changes"
else
echo "::set-output name=result::Changes detected"
fi
- name: Commit changes
if: steps.check-changes.outputs.result == 'Changes detected'
Expand Down

0 comments on commit 6ae8822

Please sign in to comment.