添加fail-fast和experimental,使单个job错误时不影响其他job运行

This commit is contained in:
yun 2023-08-03 09:56:30 +08:00
parent 8693a4098a
commit 6cd5a1cf3e

View File

@ -6,9 +6,11 @@ jobs:
cache-and-install: cache-and-install:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false
matrix: matrix:
node-version: [ 16.x, 18.x ] node-version: [ 16.x, 18.x ]
os: [ ubuntu-latest, windows-latest, macos-latest ] os: [ ubuntu-latest, windows-latest, macos-latest ]
experimental: [ true ]
steps: steps:
- name: Checkout - name: Checkout