Update debug script

This commit is contained in:
Aurelien Vaillant
2022-02-02 10:57:20 +01:00
parent 42754060e3
commit cff2f0ca39
2 changed files with 4 additions and 3 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ def get_folder_name():
if __name__ == "__main__":
name = get_folder_name()
print(f'Python : The folder name find are "{name}"')
with open('$GITHUB_ENV', 'a') as f:
with open('$GITHUB_ENV', 'w') as f:
f.write(f'APP_NAME={name}')
f.write(f'NAME_PACKAGE={name}.zip')
print('Update all env. variable')
f.close()