mirror of
https://github.com/JonasKruckenberg/tauri-build.git
synced 2025-08-15 05:15:06 +00:00
fix: correctly encode output as json
This commit is contained in:
parent
470baaf479
commit
86b50e91f7
5
.changes/fix-correct-json-formatting.md
Normal file
5
.changes/fix-correct-json-formatting.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Correctly encode the output as JSON
|
@ -13,7 +13,7 @@ async function run(): Promise<void> {
|
||||
debug: core.getBooleanInput('debug')
|
||||
})
|
||||
|
||||
core.setOutput('artifacts', artifacts)
|
||||
core.setOutput('artifacts', JSON.stringify(artifacts))
|
||||
} catch (error) {
|
||||
if (error instanceof Error) core.setFailed(error.message)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user