From c54835a0b485377a06e0fb9e4b0e7ded2d3f7acb Mon Sep 17 00:00:00 2001 From: Martin Rieder <74277074+martinrieder@users.noreply.github.com> Date: Sun, 14 Jul 2024 22:14:13 +0200 Subject: [PATCH] Fix matrix references --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d40903b..06df945 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,11 +4,12 @@ on: [push, pull_request, workflow_dispatch] jobs: build: - runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: + os: [ubuntu-latest] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -27,7 +28,7 @@ jobs: - name: Upload examples, demos, and tutorials uses: actions/upload-artifact@v4 with: - name: examples-and-tutorials-${{ matrix.os }}-${{ matrix.version }} + name: examples-and-tutorials-v${{ matrix.python-version }} path: | examples/ tutorial/