We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a67d608 + a0ec8ce commit 7703558Copy full SHA for 7703558
scripts/github-actions/example-ci.yml
@@ -3,13 +3,18 @@ name: GitHub CI
3
on:
4
pull_request:
5
push:
6
+ workflow_dispatch:
7
schedule:
8
- cron: 0 0 * * 0
9
10
defaults:
11
run:
12
shell: 'bash -Eeuo pipefail -x {0}'
13
14
+concurrency:
15
+ group: ${{ github.ref }}
16
+ cancel-in-progress: true
17
+
18
jobs:
19
20
generate-jobs:
@@ -24,8 +29,11 @@ jobs:
24
29
name: Generate Jobs
25
30
run: |
26
31
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
27
- echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
28
- jq . <<<"$strategy" # sanity check / debugging aid
32
33
+ EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
34
+ echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
35
+ jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT"
36
+ echo "$EOF" >> "$GITHUB_OUTPUT"
37
38
test:
39
needs: generate-jobs
0 commit comments