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:
1 parent
8035a77c10
commit
76963aaf9f
1 file changed
+2
-1
@@ -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')
|
||||
"
|
||||
|
||||
|
||||
Reference in new issue
Block a user