Skip to content

Commit

Permalink
remote debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
felixriehm committed Mar 6, 2024
1 parent 28a1f0b commit 4b248a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:

- name: Print Output
id: output
run: echo -e "\nYour git branch has been successfully certified by bloxberg. To verify it you can copy paste the following into a json file and verify it on certify.bloxberg.org:\n\n##########\n" && echo "${{ steps.test-action.outputs.certificateVerification }}" && echo -e "\n##########"
run: echo -e "\nYour git branch has been successfully certified by bloxberg. To verify it you can copy paste the following into a json file and verify it on certify.bloxberg.org:\n\n##########\n" && echo "${{ toJSON(steps.test-action.outputs.certificateVerification) }}" && echo -e "\n##########"
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.
6 changes: 3 additions & 3 deletions dist/index.js

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

6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function run(): Promise<void> {
core.debug(` email: ${email}`)

// Certify commit hash
let verificationJson = await certify([github.context.sha], {
const verificationJson = await certify([github.context.sha], {
authorName,
bloxbergAddress,
researchTitle,
Expand All @@ -30,8 +30,8 @@ export async function run(): Promise<void> {

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

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

0 comments on commit 4b248a7

Please sign in to comment.