Skip to content

Commit 0241813

Browse files
committed
Use new "bashbrew" composite action
1 parent 1c39f31 commit 0241813

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ jobs:
1818
outputs:
1919
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2020
steps:
21-
- uses: actions/checkout@v1
21+
- 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")"
28+
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
2829
jq . <<<"$strategy" # sanity check / debugging aid
29-
echo "::set-output name=strategy::$strategy"
3030
3131
test:
3232
needs: generate-jobs
3333
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3434
name: ${{ matrix.name }}
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@v1
37+
- uses: actions/checkout@v3
3838
- name: Prepare Environment
3939
run: ${{ matrix.runs.prepare }}
4040
- name: Pull Dependencies

0 commit comments

Comments
 (0)