尝试使用python解决bat无法添加变量的问题
This commit is contained in:
6
.github/workflows/windowsGetVersion.py
vendored
Normal file
6
.github/workflows/windowsGetVersion.py
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import os
|
||||
import getVersion
|
||||
|
||||
versionCode, versionName = getVersion.getVersion()
|
||||
|
||||
os.system(f'echo Version={versionName} >> $env:GITHUB_ENV')
|
||||
Reference in New Issue
Block a user