Skip to content

Commit 1bb4547

Browse files
committed
chore: fix
1 parent effaada commit 1bb4547

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/comment-diffs.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ jobs:
223223
done
224224
done
225225
226-
# if ls "$output_path/*.txt"; then
227-
echo "DIFF_IS_NON_EMPTY=1" >> $GITHUB_OUTPUT
228-
# else
229-
# echo "DIFF_IS_NON_EMPTY=0" >> $GITHUB_OUTPUT
230-
# fi
226+
if ls $output_path/*.txt; then
227+
echo "DIFF_IS_NON_EMPTY=1" >> $GITHUB_OUTPUT
228+
else
229+
echo "DIFF_IS_NON_EMPTY=0" >> $GITHUB_OUTPUT
230+
fi
231231
232232
# Remove outputs if it exists
233233
rm -rf ./outputs || true
@@ -282,7 +282,8 @@ jobs:
282282
"java-objc": "Java and Objective C",
283283
"java-swift": "Java and Swift",
284284
"kotlin-objc": "Kotlin and Objective C",
285-
"kotlin-swift": "Kotlin and Swift"
285+
"kotlin-swift": "Kotlin and Swift",
286+
".txt": ""
286287
}
287288
288289
const parsedArtifacts = fs.readdirSync('./outputs').map(fileName => {

0 commit comments

Comments
 (0)