Skip to content

Commit

Permalink
Retry change detection
Browse files Browse the repository at this point in the history
  • Loading branch information
LoomingEcho committed Apr 17, 2024
1 parent 932d08d commit 0315e33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ jobs:
id: check-dist-changes
run: |
before_commit="${{ github.event.before }}"
if git diff --quiet HEAD "$before_commit" -- ./dist; then
if git diff --exit-code; then
echo "dist_changed=false" >> "$GITHUB_ENV"
echo "No changes detected in the dist directory."
else
echo "dist_changed=true" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 0315e33

Please sign in to comment.