Skip to content

Commit

Permalink
zip up folder windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Jul 7, 2024
1 parent 531146f commit a656aba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a656aba

Please sign in to comment.