Skip to content

Commit 18c6633

Browse files
committed
ci: upload kustomize build artifacts
- Add upload-artifact step to preserve built kustomize YAML files - Artifact naming includes PR number (or 'main' for push) and run ID - Set retention to 30 days for PR workflow Made-with: opencode Model: big-pickle (opencode/big-pickle)
1 parent 177697e commit 18c6633

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/kustomize-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: kustomize-build
33
permissions:
44
contents: read
5+
pull-requests: write
56
on: # yamllint disable-line rule:truthy
67
pull_request:
78
branches:
@@ -42,3 +43,10 @@ jobs:
4243

4344
- name: Verify Kustomize builds
4445
run: python .github/scripts/verify-kustomize-builds.py
46+
47+
- name: Upload built artifacts
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: kustomize-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
51+
path: .build-test/
52+
retention-days: 30

0 commit comments

Comments
 (0)