mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 06:40:49 +08:00
feat: 更新工作流以支持多操作系统环境
This commit is contained in:
3
.github/workflows/setup-node-environment.yml
vendored
3
.github/workflows/setup-node-environment.yml
vendored
@ -12,11 +12,12 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
job:
|
job:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
container-image: ["", "yanhao98/runner-images:pnpm"]
|
container-image: ["", "yanhao98/runner-images:pnpm"]
|
||||||
|
os: [ubuntu-latest, macos-15]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.container-image }}
|
image: ${{ matrix.container-image }}
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user