File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,19 @@ jobs:
11
11
- uses : actions/checkout@v4
12
12
with :
13
13
fetch-depth : 0
14
+ - id : find
15
+ run : |
16
+ {
17
+ echo 'kustomizations<<EOF'
18
+ find testdata/* -maxdepth 1 -type d -not -name "*base"
19
+ echo EOF
20
+ } >>"$GITHUB_OUTPUT"
14
21
- id : test-action
15
22
uses : ./
16
23
with :
17
24
base_ref : 027b33661ae3211230e8cd03d19df49ba620b379
18
25
head_ref : 182a672418c5bae4d6b7ca1244da5f28bf5ff6f0
19
- kustomizations : |-
20
- testdata/prod
21
- testdata/stage
26
+ kustomizations : ${{ steps.find.outputs.kustomizations }}
22
27
- uses : mshick/add-pr-comment@v2
23
28
with :
24
29
message : ${{ steps.test-action.outputs.diff }}
Original file line number Diff line number Diff line change 4
4
5
5
build_dir=$( mktemp -d)
6
6
7
+ echo $INPUT_KUSTOMIZATIONS
8
+
7
9
build () {
8
10
ref=" $1 "
9
11
git checkout " $1 " --quiet
You can’t perform that action at this time.
0 commit comments