Skip to content

Commit c2c9e9a

Browse files
authored
Merge pull request #852 from infosiftr/github-wut
Switch to multi-line GITHUB_OUTPUT
2 parents 4d12931 + 5540a45 commit c2c9e9a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@ name: GitHub CI
33
on:
44
pull_request:
55
push:
6+
workflow_dispatch:
67
schedule:
78
- cron: 0 0 * * 0
89

910
defaults:
1011
run:
1112
shell: 'bash -Eeuo pipefail -x {0}'
1213

14+
concurrency:
15+
group: ${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
jobs:
1419

1520
generate-jobs:
@@ -41,8 +46,10 @@ jobs:
4146
)
4247
')"
4348
44-
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
45-
jq . <<<"$strategy" # sanity check / debugging aid
49+
EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
50+
echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
51+
jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT"
52+
echo "$EOF" >> "$GITHUB_OUTPUT"
4653
4754
test:
4855
needs: generate-jobs

0 commit comments

Comments
 (0)