]> git.madduck.net Git - etc/vim.git/blobdiff - action/main.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Bump docker/login-action from 2 to 3 (#3891)
[etc/vim.git] / action / main.py
index 1911cfd7a013ab816929b35fd98a43e5ab0f4809..c0af3930dbbe6f31745e941712e81df3ddb2cae3 100644 (file)
@@ -1,5 +1,6 @@
 import os
 import shlex
 import os
 import shlex
+import shutil
 import sys
 from pathlib import Path
 from subprocess import PIPE, STDOUT, run
 import sys
 from pathlib import Path
 from subprocess import PIPE, STDOUT, run
@@ -73,5 +74,6 @@ else:
         stderr=STDOUT,
         encoding="utf-8",
     )
         stderr=STDOUT,
         encoding="utf-8",
     )
+shutil.rmtree(ENV_PATH, ignore_errors=True)
 print(proc.stdout)
 sys.exit(proc.returncode)
 print(proc.stdout)
 sys.exit(proc.returncode)