docker-php74/php

Use new "bashbrew" composite action

Commit 0680c856 · Tianon Gravi · 2022-11-16T14:06:53-08:00

Changeset
0680c8567819e2a53a8064d2a881a576ff9b9edf
Parents
7894e0343ab4adc6e0e101e13b2363615f4143f8

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e105455a..3860c115 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,11 +19,11 @@ jobs:
       strategy: ${{ steps.generate-jobs.outputs.strategy }}
     steps:
       - uses: actions/checkout@v3
+      - uses: docker-library/bashbrew@HEAD
       - id: generate-jobs
         name: Generate Jobs
         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")"
           echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
           jq . <<<"$strategy" # sanity check / debugging aid