Skip to content

Commit 7c8d83d

Browse files
authored
Update GitHub Actions (#93)
1 parent ec73691 commit 7c8d83d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,24 @@ jobs:
1818
strategy: ${{ steps.generate-jobs.outputs.strategy }}
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: docker-library/bashbrew@v0.1.13
21+
- uses: docker-library/bashbrew@HEAD
2222
- id: generate-jobs
2323
name: Generate Jobs
2424
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
25+
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
26+
27+
EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
28+
echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
29+
jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT"
30+
echo "$EOF" >> "$GITHUB_OUTPUT"
2931
3032
test:
3133
needs: generate-jobs
3234
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3335
name: ${{ matrix.name }}
3436
runs-on: ${{ matrix.os }}
3537
steps:
36-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3739
- name: Prepare Environment
3840
run: ${{ matrix.runs.prepare }}
3941
- name: Pull Dependencies

0 commit comments

Comments
 (0)