Skip to content

Commit 752c836

Browse files
authored
Merge pull request #590 from infosiftr/bashbrew-action
Use new "bashbrew" composite action
2 parents 9a7af4b + 052dfc3 commit 752c836

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2020
steps:
2121
- uses: actions/checkout@v3
22+
- uses: docker-library/bashbrew@HEAD
2223
- id: generate-jobs
2324
name: Generate Jobs
2425
run: |
25-
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
26-
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
27-
strategy="$(~/bashbrew/scripts/github-actions/munge-i386.sh -c <<<"$strategy")"
26+
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
27+
strategy="$("$BASHBREW_SCRIPTS/github-actions/munge-i386.sh" -c <<<"$strategy")"
2828
strategy="$(jq -c '.matrix.include |= [ .[] | select(.name | (test("i386") | not) or test("alpine")) ]' <<<"$strategy")" # Ubuntu no longer supports i386 (so we can only build test Alpine there; qemu-user-static is too slow for other arches)
2929
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
3030
jq . <<<"$strategy" # sanity check / debugging aid

0 commit comments

Comments
 (0)