Skip to content

Commit

Permalink
Try another way of building desktop. UV and pip are a pain. Export UV…
Browse files Browse the repository at this point in the history
… deps and use raw python
  • Loading branch information
scosman committed Oct 30, 2024
1 parent c9f6b69 commit 7de746e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build_desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build Desktop Apps

on:
push:
branches:
- main

jobs:
build:
Expand All @@ -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 }}
Expand Down

0 comments on commit 7de746e

Please sign in to comment.