Update .gitea/workflows/matrix.yml
Build Workflow / Deploy (push) Has been cancelled
Build Workflow / Build (push) Has been cancelled
Test Gitea Actions support Matrix? / build (12, ubuntu-latest) (push) Failing after 34s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 43s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 35s
Test Gitea Actions support Matrix? / build (18, ubuntu-latest) (push) Successful in 44s
Build Workflow / Deploy (push) Has been cancelled
Build Workflow / Build (push) Has been cancelled
Test Gitea Actions support Matrix? / build (12, ubuntu-latest) (push) Failing after 34s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 43s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 35s
Test Gitea Actions support Matrix? / build (18, ubuntu-latest) (push) Successful in 44s
This commit is contained in:
+14
-13
@@ -7,21 +7,22 @@ jobs:
|
||||
matrix:
|
||||
# This will let the build run with all combinations of the following variables
|
||||
# In this case there can be up to 6 builds (3 windows runner builds and 3 ubuntu runner builds)
|
||||
# Keys can be self defined (except: include & exclude)
|
||||
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
|
||||
- node-version: 14
|
||||
supported-os: windows-latest
|
||||
- node-version: 16
|
||||
supported-os: 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
|
||||
- node-version: 14
|
||||
supported-os: windows-latest
|
||||
- node-version: 16
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user