diff --git a/.github/workflows/build_desktop.yml b/.github/workflows/build_desktop.yml index 31eea41..70e7a21 100644 --- a/.github/workflows/build_desktop.yml +++ b/.github/workflows/build_desktop.yml @@ -2,6 +2,8 @@ name: Build Desktop Apps on: push: + branches: + - main jobs: build: @@ -20,14 +22,24 @@ jobs: with: enable-cache: true + - uses: actions/setup-python@v5 + with: + python-version: 3.12 + cache: "pip" + - name: Set up Python run: uv python install - name: Install the project run: uv sync --all-extras --dev + - name: generate requirements.txt + run: uv pip freeze > requirements.txt + + - run: pip install -r requirements.txt + # Compress MacOS app param ignored on Windows - - run: uv run sh ./app/desktop/build_desktop_app.sh --compress-mac-app + - run: sh ./app/desktop/build_desktop_app.sh --compress-mac-app - uses: actions/upload-artifact@v4 with: name: kiln-desktop-${{ runner.os }}-${{ runner.arch }}