Fix indentation in CI workflow script

Corrected the indentation in the Python script within the CI workflow to ensure proper execution of the version assignment and file writing logic.
This commit is contained in:
xixu-me committed 2025-06-04 21:26:38 +08:00
1 parent 8035a77c10
commit 76963aaf9f
1 file changed
+2 -1
+2 -1
View File
@@ -341,7 +341,8 @@ jobs:
print(f'PyPI version: {version}')
except Exception as e:
print(f'Error fetching version: {e}')
version = 'unknown' with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
version = 'unknown'
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
f.write(f'version={version}\n')
"