Update .forgejo/workflows/demo.yaml
All checks were successful
UiNamed workflow / test (push) Successful in 7s
All checks were successful
UiNamed workflow / test (push) Successful in 7s
This commit is contained in:
parent
ca3d5c50ac
commit
ae3f7c24de
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue