Give the python version used
This commit is contained in:
+4
-4
@@ -11,10 +11,10 @@ def get_folder_name():
|
||||
if __name__ == "__main__":
|
||||
env_file = os.getenv('GITHUB_ENV')
|
||||
name = get_folder_name()
|
||||
archive = name + '.zip'
|
||||
print(f'Python : The folder name find are "{name}"')
|
||||
|
||||
with open(env_file, 'a') as f:
|
||||
f.write(f'APP_NAME={name}')
|
||||
f.write(f'NAME_PACKAGE={name}.zip')
|
||||
with open(env_file, 'w') as f:
|
||||
f.write('APP_NAME={name}'.format(name=name))
|
||||
f.write('NAME_PACKAGE={archive}.zip'.format(archive=archive))
|
||||
print('Update all env. variable')
|
||||
f.close()
|
||||
|
||||
@@ -33,6 +33,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
|
||||
- name: "Set up python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
||||
# Update the bl info version, update the init file and push if needed
|
||||
- name: Change version number in the bl info addon data
|
||||
run: python '.github/version.py' --tag=${{ inputs.num_version }} --name=${{ env.APP_NAME }}
|
||||
|
||||
Reference in New Issue
Block a user