Skip to content

Commit

Permalink
add json stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
felixriehm committed Mar 6, 2024
1 parent fc750f9 commit 28a1f0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/index.js

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

1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export async function run(): Promise<void> {

core.debug(`Output 'verificationJson': ${verificationJson}`)

verificationJson = JSON.stringify(verificationJson)
verificationJson = verificationJson.replace(/"/g, '\\"')
// Set outputs for other workflow steps to use
core.setOutput('certificateVerification', verificationJson)
Expand Down

0 comments on commit 28a1f0b

Please sign in to comment.