From b4ed31671c650e55a19117c88b3f712edd0117d9 Mon Sep 17 00:00:00 2001 From: Stefan Voelk Date: Fri, 27 Sep 2024 13:41:02 +0200 Subject: [PATCH] Update github-actions-demo.yml: matrix --- .github/workflows/github-actions-demo.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index bc40aca..117c83c 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -3,13 +3,17 @@ run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 on: [push] jobs: Explore-GitHub-Actions: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os:: ["ubuntu-latest"] + python-version: ["3.11.5"] steps: - name: Setup conda environment uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: false - python-version: ["3.11.5"] + python-version: ${{ matrix.python-version }} miniforge-version: latest - name: Conda info run: |