File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -103,13 +103,22 @@ jobs:
103103 var failedChecks = 0
104104 for (const [key, value] of Object.entries(toolVersions)) {
105105 if (!Object.hasOwn(outputVersions, key + "-version")) {
106- console.error("Missing " + key + "-version value ")
106+ console.error("Missing ' " + key + "-version' in outputs ")
107107 failedChecks++
108108 }
109109 if (outputVersions[key + "-version"] !== value) {
110110 console.error("Mismatched versions for " + key)
111+ failedChecks++
111112 }
112113 }
114+ if (!Object.hasOwn(outputVersions, "missing-version")) {
115+ console.error("Missing 'missing-version' in outputs")
116+ failedChecks++
117+ }
118+ if (outputVersions["python-version"] !== "4.0") {
119+ console.error("Mismatched versions for python")
120+ failedChecks++
121+ }
113122 if (failedChecks > 0) {
114123 core.setFailed("Verification failed")
115124 }
You can’t perform that action at this time.
0 commit comments