Skip to content

Use matrix node

Use matrix node #13

Workflow file for this run

name: Use matrix node
on:
# push:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [10, 12, 14]
os: [ ubuntu-latest]
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: x-cmd/action@main
with:
code: x ws build ${{ matrix.os }} || true