From 76963aaf9fbfc8a09aa9dde933f0617399bdde38 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Wed, 4 Jun 2025 21:26:38 +0800 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3732e11..8ca42b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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') "