mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Fix patching global Buildozer directory
This commit is contained in:
parent
564eb997d5
commit
8a4ce47203
1 changed files with 6 additions and 6 deletions
|
@ -110,14 +110,14 @@ def apply_patches():
|
|||
source = open(buildozer.__file__, "r", encoding="utf-8").read()
|
||||
new_source = source.replace(
|
||||
"""
|
||||
@property
|
||||
def global_buildozer_dir(self):
|
||||
return join(expanduser('~'), '.buildozer')
|
||||
@property
|
||||
def global_buildozer_dir(self):
|
||||
return join(expanduser('~'), '.buildozer')
|
||||
""",
|
||||
f"""
|
||||
@property
|
||||
def global_buildozer_dir(self):
|
||||
return '{os.environ["GITHUB_WORKSPACE"]}/.buildozer_global'
|
||||
@property
|
||||
def global_buildozer_dir(self):
|
||||
return '{os.environ["GITHUB_WORKSPACE"]}/.buildozer_global'
|
||||
""",
|
||||
)
|
||||
if new_source == source:
|
||||
|
|
Loading…
Reference in a new issue