diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9ba287a..1e4ce37 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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##########"
diff --git a/badges/coverage.svg b/badges/coverage.svg
index f3f46d0..6b8d2c2 100644
--- a/badges/coverage.svg
+++ b/badges/coverage.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
index ddb2e9f..4eb845c 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -32527,15 +32527,15 @@ async function run() {
core.debug(` researchTitle: ${researchTitle}`);
core.debug(` email: ${email}`);
// Certify commit hash
- let verificationJson = await (0, api_1.certify)([github.context.sha], {
+ const verificationJson = await (0, api_1.certify)([github.context.sha], {
authorName,
bloxbergAddress,
researchTitle,
email
});
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);
}
diff --git a/src/main.ts b/src/main.ts
index 4a33405..291665d 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -21,7 +21,7 @@ export async function run(): Promise {
core.debug(` email: ${email}`)
// Certify commit hash
- let verificationJson = await certify([github.context.sha], {
+ const verificationJson = await certify([github.context.sha], {
authorName,
bloxbergAddress,
researchTitle,
@@ -30,8 +30,8 @@ export async function run(): Promise {
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) {