Skip to content

Commit

Permalink
Update ci-template.yml (#2897)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Oct 31, 2024
1 parent 7390588 commit a1969b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eng/pipelines/ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ steps:
condition: and(succeeded(), ${{ parameters.regenerate }}, eq('${{parameters.folderName}}', 'autorest.python'))

- script: |
find test/azure/generated -type f ! -name '*apiview_mapping_python.json*' -delete
find test/unbranded/generated -type f ! -name '*apiview_mapping_python.json*' -delete
rm -rf test/azure/generated test/unbranded/generated
npm run regenerate
displayName: "Regenerate Code(typespec)"
workingDirectory: $(Build.SourcesDirectory)/autorest.python/packages/${{parameters.folderName}}/
Expand Down

0 comments on commit a1969b3

Please sign in to comment.