Skip to content

Commit 4b32dd4

Browse files
authored
Cleanup .nox environments after build (#23274)
This is needed to clear up some Component Governance issues
1 parent 26d5132 commit 4b32dd4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

build/azure-pipeline.pre-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ extends:
6969

7070
- script: gulp prePublishBundle
7171
displayName: Build
72+
73+
- displayName: Clean up Nox
74+
script: python -c "import shutil; shutil.rmtree('.nox', ignore_errors=True)"
75+
continueOnError: true
7276
tsa:
7377
config:
7478
areaPath: 'Visual Studio Code Python Extensions'

build/azure-pipeline.stable.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ extends:
6464

6565
- script: gulp prePublishBundle
6666
displayName: Build
67+
68+
- displayName: Clean up Nox
69+
script: python -c "import shutil; shutil.rmtree('.nox', ignore_errors=True)"
70+
continueOnError: true
6771
tsa:
6872
config:
6973
areaPath: 'Visual Studio Code Python Extensions'

0 commit comments

Comments
 (0)