Skip to content

Commit 352346d

Browse files
committed
WIP
1 parent 46471e8 commit 352346d

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ jobs:
1111
- uses: actions/checkout@v4
1212
with:
1313
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"
1421
- id: test-action
1522
uses: ./
1623
with:
1724
base_ref: 027b33661ae3211230e8cd03d19df49ba620b379
1825
head_ref: 182a672418c5bae4d6b7ca1244da5f28bf5ff6f0
19-
kustomizations: |-
20-
testdata/prod
21-
testdata/stage
26+
kustomizations: ${{ steps.find.outputs.kustomizations }}
2227
- uses: mshick/add-pr-comment@v2
2328
with:
2429
message: ${{ steps.test-action.outputs.diff }}

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set -eux
44

55
build_dir=$(mktemp -d)
66

7+
echo $INPUT_KUSTOMIZATIONS
8+
79
build() {
810
ref="$1"
911
git checkout "$1" --quiet

0 commit comments

Comments
 (0)