Use new "bashbrew" composite action
This commit is contained in:
parent
87f7834540
commit
9e5ad3050b
|
|
@ -19,11 +19,11 @@ jobs:
|
||||||
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- uses: docker-library/bashbrew@HEAD
|
||||||
- id: generate-jobs
|
- id: generate-jobs
|
||||||
name: Generate Jobs
|
name: Generate Jobs
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
|
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
|
||||||
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
|
|
||||||
strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
|
strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
|
||||||
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
|
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
|
||||||
jq . <<<"$strategy" # sanity check / debugging aid
|
jq . <<<"$strategy" # sanity check / debugging aid
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue