Fix matrix references

This commit is contained in:
Martin Rieder 2024-07-14 22:14:13 +02:00 committed by GitHub
parent c18e31140d
commit c54835a0b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,11 +4,12 @@ on: [push, pull_request, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-latest
strategy: strategy:
max-parallel: 4 max-parallel: 4
matrix: matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
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 }}
@ -27,7 +28,7 @@ jobs:
- 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-${{ matrix.os }}-${{ matrix.version }} name: examples-and-tutorials-v${{ matrix.python-version }}
path: | path: |
examples/ examples/
tutorial/ tutorial/