Build webapp for desktop #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Desktop Apps | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows-latest", "macos-latest"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: "pip" | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: 3.12 | |
environment-file: environment.yml | |
auto-activate-base: false | |
activate-environment: fune | |
- run: pip install -r requirements.txt | |
- name: Build Web UI | |
working-directory: ./studio/web_ui | |
run: npm install . && npm run build | |
- run: sh ./desktop/build_desktop_app.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: fune-desktop-${{ matrix.os }} | |
path: ./desktop/build/dist/* |