diff --git a/.github/actions/build-api/action.yml b/.github/actions/build-api/action.yml index 15c4125d..1513c4c6 100644 --- a/.github/actions/build-api/action.yml +++ b/.github/actions/build-api/action.yml @@ -9,9 +9,9 @@ runs: id: test_arg run: | if [[ "${RUNNER_OS}" == "Windows" ]]; then - echo "test_arg=main.exe" >> $GITHUB_OUTPUT + echo "test_arg=main/main.exe" >> $GITHUB_OUTPUT else - echo "test_arg=main" >> $GITHUB_OUTPUT + echo "test_arg=main/main" >> $GITHUB_OUTPUT fi - name: Install dependencies shell: bash diff --git a/.github/workflows/manual_build.yml b/.github/workflows/manual_build.yml index eb312b98..162e9dd7 100644 --- a/.github/workflows/manual_build.yml +++ b/.github/workflows/manual_build.yml @@ -24,4 +24,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: main-artifact - path: ./dist/main.exe + path: ./dist/main diff --git a/Justfile b/Justfile index df274d49..4288194e 100644 --- a/Justfile +++ b/Justfile @@ -83,7 +83,7 @@ clean: (log "Delete all dirty files" "red") # Build an executable for the REST API build: (log "\nBuilding the REST API to an executable" "blue") - uv run pyinstaller --onefile src/main.py --clean --debug all \ + uv run pyinstaller src/main.py --clean --log-level=WARN \ --collect-all=skimage \ --collect-submodules=PIL \ --collect-submodules=surfalize \