We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4791d08 commit 92a7e7dCopy full SHA for 92a7e7d
.github/workflows/verify.yml
@@ -102,16 +102,14 @@ jobs:
102
const outputVersions = JSON.parse(process.env.ACTION_OUTPUTS)
103
var failedChecks = 0
104
for (const [key, value] of Object.entries(toolVersions)) {
105
- if (key + "-version" in outputVersions === false) {
+ if (!Object.hasOwn(outputVersions, key + "-version")) {
106
console.error("Missing " + key + "-version value")
107
failedChecks++
108
}
109
if (outputVersions[key + "-version"] !== value) {
110
console.error("Mismatched versions for " + key)
111
112
113
- console.error("Forcing failure")
114
- failedChecks++
115
if (failedChecks > 0) {
116
core.setFailed("Verification failed")
117
0 commit comments