Skip to content

Commit

Permalink
chore: pass along the exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Jan 9, 2025
1 parent 5ddcf99 commit 07e9a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,5 @@ func main() {
githubactions.Fatalf("error: %s", err)
}

githubactions.SetOutput("success", "true")
githubactions.Infof("upload successful")
}
3 changes: 2 additions & 1 deletion shim/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ const platform = os.platform()
const arch = os.arch()
const binary = chooseBinary()
const mainScript = resolve(`${__dirname}/../dist/${binary}`)
const spawnSyncReturns = childProcess.spawnSync(mainScript, { stdio: 'inherit' })
const proc = childProcess.spawnSync(mainScript, { stdio: 'inherit' })
process.exit(proc.status)

0 comments on commit 07e9a31

Please sign in to comment.