又换回了bat尝试解决无法添加变量的问题

This commit is contained in:
2021-08-09 07:52:42 +08:00
parent ebc4e08986
commit b3ef90237f
3 changed files with 2 additions and 8 deletions

View File

@@ -1,2 +1,2 @@
for /F %%i in ('python .github/workflows/getVersion.py') do (set Version=%%i)
echo Version=%Version% >> $env:GITHUB_ENV
powershell -Command echo "Version=%Version%" >> $env:GITHUB_ENV