Skip to content

Commit

Permalink
update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jun 18, 2024
1 parent 47eac4f commit d5e79a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Test Action
uses: ./
with:
qt: ${{ matrix.qt != '' }}

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"

- name: Install PyVista
run: pip install pyvista

- name: Test PyVista
run: python tests/test_pyvista.py

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-sphere
path: sphere.png
Expand All @@ -62,7 +62,7 @@ jobs:
QT_DEBUG_PLUGINS=1 LIBGL_DEBUG=verbose python tests/test_qt.py
shell: bash

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: cube
path: ${{ matrix.os }}-cube.png
6 changes: 3 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
uses: pyvista/setup-headless-display-action@v1

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"

- name: Install PyVista
run: pip install pyvista

- name: Use PyVista
run: python -c "import pyvista;pyvista.Sphere().plot(screenshot='${{ matrix.os }}-sphere.png')"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: sphere
path: ${{ matrix.os }}-sphere.png

0 comments on commit d5e79a9

Please sign in to comment.