Skip to content

Commit

Permalink
Add removal of env_path after completion.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjproud committed Jul 19, 2023
1 parent 0b301f8 commit 6a94c69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import shlex
import sys
import shutil
from pathlib import Path
from subprocess import PIPE, STDOUT, run

Expand Down Expand Up @@ -73,5 +74,6 @@
stderr=STDOUT,
encoding="utf-8",
)
shutil.rmtree(ENV_PATH)
print(proc.stdout)
sys.exit(proc.returncode)

0 comments on commit 6a94c69

Please sign in to comment.