From bac0b69aa0dc707df848d3299f387f9fd5134c8a Mon Sep 17 00:00:00 2001 From: nbouziani Date: Sun, 21 Jan 2024 01:05:59 +0000 Subject: [PATCH] Add strategy block --- .github/workflows/python-publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e42a409..652761a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -15,6 +15,10 @@ jobs: build: name: Build distribution 📦 runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11"] + container: image: firedrakeproject/firedrake-vanilla:latest options: --user root @@ -25,7 +29,7 @@ jobs: uses: actions/setup-python@v4 with: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ${{ matrix.python-version }} - name: Install pypa/build run: >- python3 -m