From a656aba979bf089242b7ed051fd5ec97da0d43b6 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 7 Jul 2024 18:24:00 -0400 Subject: [PATCH] zip up folder windows --- .github/workflows/build-and-release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 2a0e5fb..2967d0b 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -143,20 +143,20 @@ jobs: - name: Add Poetry to PATH run: | - $env:PATH += ";C:\Users\runneradmin\AppData\Roaming\Python\Scripts" - [Environment]::SetEnvironmentVariable("PATH", $env:PATH, [EnvironmentVariableTarget]::Process) - poetry --version + $env:Path += ";C:\Users\runneradmin\AppData\Roaming\Python\Scripts" + [Environment]::SetEnvironmentVariable("Path", $env:Path, [EnvironmentVariableTarget]::Process) + C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry --version shell: powershell - name: Install dependencies run: | - poetry install - poetry add pyinstaller + C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry install + C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry add pyinstaller shell: powershell - name: Build executable as directory for Windows run: | - poetry run pyinstaller --name orion --onedir --add-data "orion_cli/services/*.py;orion_cli/services" orion_cli/cli.py + C:\Users\runneradmin\AppData\Roaming\Python\Scripts\poetry run pyinstaller --name orion --onedir --add-data "orion_cli/services/*.py;orion_cli/services" orion_cli/cli.py shell: powershell - name: Rename output directory @@ -176,6 +176,7 @@ jobs: path: dist\orion_windows.zip + release: needs: [build-linux, build-macos-intel, build-macos-arm, build-windows] runs-on: ubuntu-latest