diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1eaaa88..e293db2 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -51,7 +51,7 @@ jobs: - name: Extract version number id: extract_version_number run: | - python -c "import re; content = open('res/info.txt', 'r').read(); match = re.search(r'StringStruct\\(\'ProductVersion\', \'(.*?)\'\\)', content); if match: version_number = match.group(1); print(f'::set-output name=version_number::{version_number}')" + python -c "import re; content = open('res/info.txt', 'r').read(); match = re.search(r'StringStruct\\(\'ProductVersion\', \'(.*?)\'\\)', content); if match:\n\tversion_number = match.group(1);\n\tprint(f'::set-output name=version_number::{version_number}')" - name: Upload Artifact uses: actions/upload-artifact@v4 with: