Skip to content

Commit

Permalink
Make ZAP generation check do a clean of java folders first (#30956)
Browse files Browse the repository at this point in the history
* Clean java before zap check

* Remove obsolete file

* One more file removed

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Feb 21, 2024
1 parent 688f838 commit 2e11df6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 560 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/zap_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -fy --fix-missing openjdk-17-jre
# Clean out java generated files: since java codegen will generate one file per
# structure/cluster, if clusters and structures are ever changed (for in progress work)
# this may leave obsolete files. Ensure we always check for clean regen.
- name: Ensure clean java
run: rm -rf src/controller/java/generated/
- name: Generate all
run: ./scripts/run_in_build_env.sh scripts/tools/zap_regen_all.py
- name: Generate script-maintained items (ERROR_CODES.md)
Expand Down

This file was deleted.

Loading

0 comments on commit 2e11df6

Please sign in to comment.