Skip to content

Commit 202bf94

Browse files
committed
Use new "bashbrew" composite action
1 parent 413d727 commit 202bf94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ 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)"
26+
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
27+
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
2728
jq . <<<"$strategy" # sanity check / debugging aid
28-
echo "::set-output name=strategy::$strategy"
2929
3030
test:
3131
needs: generate-jobs
3232
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3333
name: ${{ matrix.name }}
3434
runs-on: ${{ matrix.os }}
3535
steps:
36-
- uses: actions/checkout@v1
36+
- uses: actions/checkout@v3
3737
- name: Prepare Environment
3838
run: ${{ matrix.runs.prepare }}
3939
- name: Pull Dependencies

0 commit comments

Comments
 (0)