mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 08:48:13 +00:00
Fix generated executable name on Windows
This commit is contained in:
8
.github/workflows/create-executables.yml
vendored
8
.github/workflows/create-executables.yml
vendored
@@ -18,9 +18,9 @@ jobs:
|
|||||||
- name: Extract Version
|
- name: Extract Version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
|
$version = python -c "from version import APP_VERSION; print(APP_VERSION)"
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8
|
||||||
- name: Create Executables (Windows)
|
- name: Create Executable (Windows-x64)
|
||||||
uses: sayyid5416/pyinstaller@v1
|
uses: sayyid5416/pyinstaller@v1
|
||||||
with:
|
with:
|
||||||
python_ver: '3.11'
|
python_ver: '3.11'
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
|
version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
echo "VERSION=$version" >> $GITHUB_ENV
|
||||||
- name: Create Executables (Linux)
|
- name: Create Executable (Linux-x64)
|
||||||
uses: sayyid5416/pyinstaller@v1
|
uses: sayyid5416/pyinstaller@v1
|
||||||
with:
|
with:
|
||||||
python_ver: '3.11'
|
python_ver: '3.11'
|
||||||
|
|||||||
Reference in New Issue
Block a user