@@ -77,19 +77,23 @@ jobs:
7777 - os : macos-latest
7878 TARGET : macos
7979 CMD_BUILD : >
80- uv run pyinstaller --target-arch universal2 -F ./codecov-cli/codecov_cli/main.py &&
80+ cd codecov-cli
81+ uv run pyinstaller --target-arch universal2 -F ./codecov_cli/main.py &&
8182 mv ./dist/main ./dist/codecovcli_macos &&
82- uv run pyinstaller --target-arch universal2 -F ./prevent-cli/src/prevent_cli/main.py &&
83+ cd ../prevent-cli
84+ uv run pyinstaller --target-arch universal2 -F ./src/prevent_cli/main.py &&
8385 mv ./dist/main ./dist/sentry-prevent-cli_macos
8486 OUT_FILE_SUFFIX : _macos
8587 ASSET_MIME : application/octet-stream
8688
8789 - os : windows-latest
8890 TARGET : windows
8991 CMD_BUILD : >
90- uv run pyinstaller -F .\codecov-cli\codecov_cli\main.py &&
92+ Set-Location .\codecov-cli
93+ uv run pyinstaller -F .\codecov_cli\main.py &&
9194 Move-Item -Path ".\dist\main.exe" -Destination ".\dist\codecovcli_windows.exe" &&
92- uv run pyinstaller -F .\prevent-cli\src\prevent_cli\main.py &&
95+ Set-Location ..\prevent-cli
96+ uv run pyinstaller -F .\src\prevent_cli\main.py &&
9397 Move-Item -Path ".\dist\main.exe" -Destination ".\dist\sentry-prevent-cli_windows.exe"
9498 OUT_FILE_SUFFIX : _windows.exe
9599 ASSET_MIME : application/vnd.microsoft.portable-executable
@@ -105,7 +109,7 @@ jobs:
105109 - name : Install dependencies
106110 run : |
107111 pip install uv
108- cd prevent-cli # codecov-cli is a dependency of prevent-cli
112+ cd prevent-cli
109113 # Need to build pyyaml and ijson from sdists to get universal2 macos build to work
110114 uv sync --no-binary-package pyyaml --no-binary-package ijson
111115 cd ../codecov-cli
0 commit comments