File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,15 @@ jobs:
18
18
outputs :
19
19
strategy : ${{ steps.generate-jobs.outputs.strategy }}
20
20
steps :
21
- - uses : actions/checkout@v1
21
+ - uses : actions/checkout@v2
22
22
- id : generate-jobs
23
23
name : Generate Jobs
24
24
run : |
25
+ image="${GITHUB_REPOSITORY##*/}"
26
+ image="${image#docker-}"
27
+ export GITHUB_REPOSITORY="$image"
25
28
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
26
- strategy="$(GITHUB_REPOSITORY='bash' ~/bashbrew/scripts/github-actions/generate.sh)"
29
+ strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
27
30
jq . <<<"$strategy" # sanity check / debugging aid
28
31
echo "::set-output name=strategy::$strategy"
29
32
33
36
name : ${{ matrix.name }}
34
37
runs-on : ${{ matrix.os }}
35
38
steps :
36
- - uses : actions/checkout@v1
39
+ - uses : actions/checkout@v2
37
40
- name : Prepare Environment
38
41
run : ${{ matrix.runs.prepare }}
39
42
- name : Pull Dependencies
You can’t perform that action at this time.
0 commit comments