Skip to content

Commit ac3a028

Browse files
committed
Use grouping to make the logs more readable
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 43b266c commit ac3a028

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/initialize-releases.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838
let startAt = '2025-02-14T08:31:04.000Z'
3939
const baseURL = 'https://wingit.blob.core.windows.net/'
4040
for (const release of list) {
41-
console.log(JSON.stringify(release, null, 2))
41+
const date = (new Date(release.date)).toISOString()
42+
console.log(`::group::${date}\n${JSON.stringify(release, null, 2)}\n::endgroup::`)
4243
4344
if (startAt) {
44-
if ((new Date(release.date)).toISOString() === startAt) {
45+
if (date === startAt) {
4546
startAt = null
4647
} else {
47-
console.log(`skipping ${(new Date(release.date)).toISOString()}`)
48+
console.log(`skipping ${date}`)
4849
continue
4950
}
5051
}

0 commit comments

Comments
 (0)