From feee3c0f45d64a405e75405390623a9cad27f37f Mon Sep 17 00:00:00 2001 From: Andrew Katz Date: Thu, 16 Jul 2020 19:40:25 -0400 Subject: [PATCH] Add example outputs to GH Actions Fixup github actions --- .github/workflows/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec26b95b..301ac18a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: Create Examples -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: build: @@ -22,4 +22,11 @@ jobs: python -m pip install --upgrade pip pip install . - name: Create Examples - run: PYTHONPATH=$(pwd)/src:$PYTHONPATH cd src/wireviz/ && python build_examples.py \ No newline at end of file + 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/ \ No newline at end of file