Skip to content

Commit 5e730f5

Browse files
committed
see if GH strips those quotes
1 parent 7666dc9 commit 5e730f5

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: json between jobs
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
job1:
8+
name: json-thing
9+
runs-on: ubuntu-latest
10+
outputs:
11+
had_issue: ${{ steps.set-bool.outputs.env_bool }}
12+
steps:
13+
- id: set-bool
14+
run: |
15+
SOME_JSON={"something":"somethingValue","other":"otherValue"}
16+
echo "env_bool=$SOME_JSON" >> $GITHUB_OUTPUT
17+
18+
job2:
19+
name: fail with error
20+
runs-on: ubuntu-latest
21+
needs: job1
22+
steps:
23+
- id: set-bool
24+
run: |
25+
echo ${{ needs.job1.outputs.had_issue }}

0 commit comments

Comments
 (0)