Try setting utf-8 for env
This commit is contained in:
@@ -146,13 +146,13 @@ jobs:
|
||||
- name: Build with pyinstaller
|
||||
run: |
|
||||
micromamba activate eos_build
|
||||
chcp 65001 #set code page to utf-8
|
||||
$env:RELEASE_TAG = (python -c "import eos;print('v'+eos.__version__)")
|
||||
echo "RELEASE_TAG=$env:RELEASE_TAG" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
|
||||
echo "RELEASE_TAG=$env:RELEASE_TAG" >> $env:GITHUB_ENV
|
||||
echo "Set tag to $env:RELEASE_TAG"
|
||||
#pyinstaller windows_build.spec
|
||||
#cd dist\eos
|
||||
#Compress-Archive -Path .\* -Destination ..\..\eos.zip
|
||||
#Compress-Archive -Path .\* -Destination "..\..\eos-$env:RELEASE_TAG.zip"
|
||||
- name: Test global env
|
||||
run: |
|
||||
echo "Received tag as $env:RELEASE_TAG"
|
||||
|
||||
Reference in New Issue
Block a user