From 69e377835ea8647ec6204a0c18b52434874bbb89 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 23 Aug 2024 20:37:30 -0500 Subject: [PATCH] Fix generated executable name on Windows --- .github/workflows/create-executables.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-executables.yml b/.github/workflows/create-executables.yml index 8b19033..3c8812b 100644 --- a/.github/workflows/create-executables.yml +++ b/.github/workflows/create-executables.yml @@ -18,9 +18,9 @@ jobs: - name: Extract Version id: get_version run: | - version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)') - echo "VERSION=$version" >> $GITHUB_ENV - - name: Create Executables (Windows) + $version = python -c "from version import APP_VERSION; print(APP_VERSION)" + echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 + - name: Create Executable (Windows-x64) uses: sayyid5416/pyinstaller@v1 with: python_ver: '3.11' @@ -38,7 +38,7 @@ jobs: run: | version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)') echo "VERSION=$version" >> $GITHUB_ENV - - name: Create Executables (Linux) + - name: Create Executable (Linux-x64) uses: sayyid5416/pyinstaller@v1 with: python_ver: '3.11'