Skip to content

Commit

Permalink
Merge pull request #76 from biolab/feature/build-widget-catalog
Browse files Browse the repository at this point in the history
Build widget catalog on build
  • Loading branch information
markotoplak authored Dec 4, 2023
2 parents c459ea2 + ae3245b commit 6979341
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches:
- main

# Manually trigger workflow
workflow_dispatch:

jobs:
build:
Expand All @@ -18,16 +24,16 @@ jobs:
sudo apt-get install -y glibc-tools # required for catchsegv
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1-mesa libxcb-shape0 libxcb-cursor0
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.10"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

# - name: Build widget catalog
# run: |
# pip install -U setuptools pip
# pip install orange-canvas-core pyqt6==6.5.*
# bash scripts/build-widget-catalog.sh
- name: Build widget catalog
run: |
pip install -U setuptools pip
pip install orange-canvas-core pyqt6==6.5.*
bash scripts/build-widget-catalog.sh
- name: Use Node.js 16.x
uses: actions/setup-node@v1
Expand All @@ -41,6 +47,7 @@ jobs:
run: yarn run build && yarn run export && touch ./out/.nojekyll

- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6979341

Please sign in to comment.