Skip to content

Commit

Permalink
chore: fix an issue that the build workflow always build all images, …
Browse files Browse the repository at this point in the history
…not incrementally
  • Loading branch information
leonismoe authored Jul 9, 2024
1 parent a9e0db4 commit 5b06a00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ jobs:
fi
else
# for file in $(git diff --name-only --diff-filter=d ${{ github.event.before }} ${{ github.event.after }}); do
for file in $(git diff --name-only d050f4a HEAD); do
for file in $(git diff --name-only --diff-filter=d ${{ github.event.before }} ${{ github.event.after }}); do
dir="$(dirname $file)"
while [ "$dir" != "." ]; do
# respect `subprojects.txt`
Expand Down

0 comments on commit 5b06a00

Please sign in to comment.