Skip to content

Commit 224a055

Browse files
committed
fix: append mode
1 parent bd03d6a commit 224a055

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/submodule.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
id: changes
2020
run: |
2121
for sm in $(grep 'path = ' .gitmodules | awk '{print $3}'); do
22-
echo "SUBMODULE $sm ===========" | tee changes.txt
23-
git diff origin/${{ github.base_ref }} --submodule=log -- $sm | tee changes.txt
24-
echo "" | tee changes.txt
22+
git diff origin/${{ github.base_ref }} --submodule=log -- $sm | tee -a changes.txt
2523
done
2624
echo "changes<<EOF" >> $GITHUB_OUTPUT
2725
cat changes.txt >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)