File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -3,37 +3,48 @@ name: GitHub CI
33on :
44 pull_request :
55 push :
6+ workflow_dispatch :
67 schedule :
78 - cron : 0 0 * * 0
89
910defaults :
1011 run :
1112 shell : ' bash -Eeuo pipefail -x {0}'
1213
14+ concurrency :
15+ group : ${{ github.ref }}
16+ cancel-in-progress : true
17+
18+ permissions :
19+ contents : read
20+
1321jobs :
22+
1423 generate-jobs :
1524 name : Generate Jobs
1625 runs-on : ubuntu-latest
1726 outputs :
1827 strategy : ${{ steps.generate-jobs.outputs.strategy }}
1928 steps :
2029 - uses : actions/checkout@v4
21- - uses : docker-library/bashbrew@v0.1.13
30+ - uses : docker-library/bashbrew@HEAD
2231 - id : generate-jobs
2332 name : Generate Jobs
2433 run : |
25- strategy="$(GITHUB_REPOSITORY=postfixadmin "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
26- strategy="$("$BASHBREW_SCRIPTS/github-actions/munge-i386.sh" -c <<<"$strategy")"
27- echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
28- jq . <<<"$strategy" # sanity check / debugging aid
34+ strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
35+
36+ EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
37+ echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
38+ jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT"
39+ echo "$EOF" >> "$GITHUB_OUTPUT"
2940
3041 test :
3142 needs : generate-jobs
3243 strategy : ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3344 name : ${{ matrix.name }}
3445 runs-on : ${{ matrix.os }}
3546 steps :
36- - uses : actions/checkout@v3
47+ - uses : actions/checkout@v4
3748 - name : Prepare Environment
3849 run : ${{ matrix.runs.prepare }}
3950 - name : Pull Dependencies
You can’t perform that action at this time.
0 commit comments