Update GitHub workflow
This commit is contained in:
parent
a4581d0834
commit
0683b446f0
43
.github/workflows/main.yml
vendored
43
.github/workflows/main.yml
vendored
@ -19,25 +19,24 @@ jobs:
|
|||||||
python-version: "3.8"
|
python-version: "3.8"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup Graphviz
|
- name: Setup Graphviz
|
||||||
uses: ts-graphviz/setup-graphviz@v2
|
uses: ts-graphviz/setup-graphviz@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
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/wireviz:$PYTHONPATH cd src/wireviz/ && python build_examples.py
|
run: PYTHONPATH=$(pwd)/src/wireviz:$PYTHONPATH cd src/wireviz/tools/ && python build_examples.py
|
||||||
- name: Upload examples, demos, and tutorials
|
- name: Upload examples, demos, and tutorials
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: examples-and-tutorials-v${{ matrix.python-version }}
|
name: examples-and-tutorials-v${{ matrix.python-version }}
|
||||||
path: |
|
path: |
|
||||||
examples/
|
examples/
|
||||||
tutorial/
|
tutorial/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user