Add .gitea/workflows/matrix.yml
Build Workflow / Build (push) Successful in 1m58s
Test Gitea Actions support Matrix? / build (12, ubuntu-latest) (push) Failing after 35s
Build Workflow / Deploy (push) Successful in 1m9s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 41s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 33s
Test Gitea Actions support Matrix? / build (12, windows-latest) (push) Has been cancelled
Test Gitea Actions support Matrix? / build (14, windows-latest) (push) Has been cancelled
Test Gitea Actions support Matrix? / build (16, windows-latest) (push) Has been cancelled
Build Workflow / Build (push) Successful in 1m58s
Test Gitea Actions support Matrix? / build (12, ubuntu-latest) (push) Failing after 35s
Build Workflow / Deploy (push) Successful in 1m9s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 41s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 33s
Test Gitea Actions support Matrix? / build (12, windows-latest) (push) Has been cancelled
Test Gitea Actions support Matrix? / build (14, windows-latest) (push) Has been cancelled
Test Gitea Actions support Matrix? / build (16, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Test Gitea Actions support Matrix?
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
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)
|
||||
node-version: [12, 14, 16]
|
||||
supported-os: [ubuntu-latest, 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:
|
||||
- name: Get Code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install NodeJS
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
# Uses the defined node-version variable from above depending on which of the 6 builds the runner gets
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
- name: Build
|
||||
run: npm run build
|
||||
Reference in New Issue
Block a user