From 3d228364a96a9547c38c4dc26101df07d0d4bcce Mon Sep 17 00:00:00 2001 From: Tom - Henry Coursow Date: Sun, 16 Jul 2023 23:57:26 +0200 Subject: [PATCH] Update .gitea/workflows/matrix.yml --- .gitea/workflows/matrix.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/matrix.yml b/.gitea/workflows/matrix.yml index ae65edb..1ba723a 100644 --- a/.gitea/workflows/matrix.yml +++ b/.gitea/workflows/matrix.yml @@ -9,6 +9,15 @@ jobs: # In this case there can be up to 6 builds (3 windows runner builds and 3 ubuntu runner builds) node-version: [12, 14, 16] supported-os: [ubuntu-latest, windows-latest] + # The following block will ad a 7th using node version 18 with ubuntu (which is not in the above matrix by default) + # This way there would be no Windows Node 18 build for example + include: + - node-version: 18 + supported-os: ubuntu-latest + # Like include it is also possible to exclude combinations. + exclude: + - node-version: 12 + - supported-os: windows-latest # Uses the defined supported-os variable from above depending on which of the 6 builds the runner gets runs-on: ${{ matrix.supported-os }} steps: