Properly create matrix

pre-release-3
James H Ball 2025-01-05 16:22:43 +00:00
rodzic 338c18fcca
commit 2e0951d198
1 zmienionych plików z 21 dodań i 8 usunięć

Wyświetl plik

@ -11,12 +11,13 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
strategy: strategy:
matrix: matrix:
project: [osci-render, sosci]
include: include:
- version: premium - project: osci-render
project: [osci-render, sosci] version: free
- version: free - project: osci-render
project: [osci-render] version: premium
- project: sosci
version: premium
steps: steps:
- name: Fix up git URLs - name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
@ -46,7 +47,13 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
matrix: matrix:
project: [osci-render, sosci] include:
- project: osci-render
version: free
- project: osci-render
version: premium
- project: sosci
version: premium
steps: steps:
- name: Fix up git URLs - name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
@ -131,7 +138,13 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
matrix: matrix:
project: [osci-render, sosci] include:
- project: osci-render
version: free
- project: osci-render
version: premium
- project: sosci
version: premium
steps: steps:
- name: Fix up git URLs - name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig