We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff352a7 commit 6ffd3ffCopy full SHA for 6ffd3ff
gitbug-java
@@ -103,11 +103,11 @@ class GitBugJavaCli(object):
103
104
def __setup_act_cache(self, name: str, download_url: str):
105
# Download the zip
106
- zip_path = Path(get_project_root(), "act-cache.zip")
107
- if not act_cache.exists():
+ zip_path = Path(get_project_root(), f"{name}.zip")
+ if not zip_path.exists():
108
self.__download(download_url, zip_path)
109
# Extract the zip
110
- cache_path = Path(get_project_root(), "act-cache")
+ cache_path = Path(get_project_root(), name)
111
cache_path.mkdir(parents=True, exist_ok=True)
112
with zipfile.ZipFile(zip_path, "r") as zip_ref:
113
zip_ref.extractall(cache_path)
0 commit comments