Skip to content

Commit

Permalink
Merge pull request #143 from aws-beam/fix-codegen-action-to-not-delet…
Browse files Browse the repository at this point in the history
…e-non-aws-erlang-files

Do not remove any non-erlang files such as those from aws-codegen. Only delete auto-generated files in src/*.erl
  • Loading branch information
onno-vos-dev authored Dec 19, 2023
2 parents d54d6bc + 7f1dd12 commit 22ed32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
ERLANG_OUTPUT_PATH: ../../src
run: |
# Remove any previously generated files
find . -type f -exec grep -l "DO NOT EDIT, AUTO-GENERATED CODE" {} \; | xargs rm -f
find src -type f -name "*.erl" -exec grep -l "DO NOT EDIT, AUTO-GENERATED CODE" {} \; | xargs rm -f
# Jump to the codegen
cd tmp/aws-codegen
Expand Down

0 comments on commit 22ed32e

Please sign in to comment.