Skip to content

Commit

Permalink
Fix log output
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Jun 3, 2024
1 parent 5e5b2aa commit 696723c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function main() {
}
}

let __message = " -"
let __message = "-"

// Check if the release satisfies the version constraint in the pubspec.yaml file
if (release.version) {
Expand Down Expand Up @@ -116,10 +116,10 @@ async function main() {
await core.group(`Post-processing for ${labelsMap[key]}`, async () => {
const items = matrix[key]
if (items.length === 0) {
core.info(`Remove the "${key}" from the matrix to avoid empty arrays which will cause the job to fail`)
core.info(`- Remove the "${key}" from the matrix to avoid empty arrays which will cause the job to fail`)
delete matrix[key]
} else {
core.info("Removing duplicates and sorting the versions")
core.info("- Removing duplicates and sorting the versions")
matrix[key] = Array
.from(new Set(matrix[key])) // Remove duplicates
.sort(compareVersions) // Sort the versions
Expand Down

0 comments on commit 696723c

Please sign in to comment.