更新 build-windows.yml

This commit is contained in:
jxxghp 2023-10-09 20:35:18 +08:00 committed by GitHub
parent de427fd7a9
commit a03c76e211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ jobs:
id: release_version
run: |
$app_version = Select-String -Path "version.py" -Pattern "APP_VERSION\s=\s'v(.*)'" | ForEach-Object { $_.Matches.Groups[1].Value }
echo "app_version=$app_version" >> $GITHUB_ENV
echo app_version=%app_version% >> %GITHUB_ENV%
- name: Init Python 3.11.4
uses: actions/setup-python@v4