File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,10 @@ class GitBugJavaCli(object):
103103
104104 def __setup_act_cache (self , name : str , download_url : str ):
105105 # Download the zip
106- act_cache = Path (f" { name } .zip" )
106+ zip_path = Path (get_project_root (), "act-cache .zip" )
107107 if not act_cache .exists ():
108- self .__download (download_url , act_cache )
108+ self .__download (download_url , zip_path )
109109 # Extract the zip
110- zip_path = Path (get_project_root (), "act-cache.zip" )
111110 cache_path = Path (get_project_root (), "act-cache" )
112111 cache_path .mkdir (parents = True , exist_ok = True )
113112 with zipfile .ZipFile (zip_path , "r" ) as zip_ref :
@@ -160,7 +159,7 @@ class GitBugJavaCli(object):
160159 self ,
161160 workdir : str ,
162161 output : str = "report" ,
163- act_cache_dir : Optional [str ] = ". /act-cache" ,
162+ act_cache_dir : Optional [str ] = f" { get_project_root () } /act-cache" ,
164163 timeout : int = 0 ,
165164 ) -> bool :
166165 """
You can’t perform that action at this time.
0 commit comments