Add example outputs to GH Actions

Fixup github actions
This commit is contained in:
Andrew Katz 2020-07-16 19:40:25 -04:00 committed by Daniel Rojas
parent 063789948a
commit c94d3eed0e

View File

@ -1,6 +1,6 @@
name: Create Examples name: Create Examples
on: [push, pull_request] on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
@ -22,4 +22,11 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install . pip install .
- name: Create Examples - name: Create Examples
run: PYTHONPATH=$(pwd)/src:$PYTHONPATH cd src/wireviz/ && python build_examples.py run: PYTHONPATH=$(pwd)/src:$PYTHONPATH cd src/wireviz/ && python build_examples.py
- name: Upload examples, demos, and tutorials
uses: actions/upload-artifact@v2
with:
name: examples-and-tutorials
path: |
examples/
tutorial/