diff --git a/.changes/fix-correct-json-formatting.md b/.changes/fix-correct-json-formatting.md new file mode 100644 index 0000000..8ef8ddd --- /dev/null +++ b/.changes/fix-correct-json-formatting.md @@ -0,0 +1,5 @@ +--- +"tauri-build": patch +--- + +Correctly encode the output as JSON \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 5c68725..79ed207 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ async function run(): Promise { debug: core.getBooleanInput('debug') }) - core.setOutput('artifacts', artifacts) + core.setOutput('artifacts', JSON.stringify(artifacts)) } catch (error) { if (error instanceof Error) core.setFailed(error.message) }