diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 6b2b2d5..d576703 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -23,7 +23,7 @@ jobs: - name: Test set variable id: build - run: deno eval "Promise.resolve().then(_ => console.log(JSON.stringify(Deno.build, null, '\n'))).then(v => 'BUILD=' + v).then(console.log)" + run: deno eval "Promise.resolve().then(_ => JSON.stringify(Deno.build, null, '\n')).then(v => v.replaceAll(/\r?\n/g, '\\\n')).then(v => 'BUILD=' + v).then(console.log)" - name: Test get variable run: echo ${{ steps.build.outputs.BUILD }}