Skip to content

Commit dc26938

Browse files
Update action.js
Co-authored-by: Rafael Gonzaga <[email protected]>
1 parent 88b0c75 commit dc26938

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ async function run () {
88

99
if (platform && !['linux', 'win', 'osx'].includes(platform)) {
1010
core.setFailed(`platform ${platform} is not valid. Please use linux, win or osx.`)
11+
return
1112
}
1213

1314
core.info(`Checking Node.js version ${nodeVersion} with platform ${platform}...`)

0 commit comments

Comments
 (0)