Skip to content

Commit

Permalink
Add ability to choose MacOS version
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Jan 31, 2024
1 parent c938bea commit cd2c270
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/zowe-cli-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: zowe-cli-plugin

on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
inputs:
macos-type:
type: choice
description: Run against x86-based MacOS (12), otherwise run against ARM64-based MacOS (14)
default: macos-14
options:
- macos-12
- macos-14

jobs:
test:
Expand All @@ -12,7 +23,10 @@ jobs:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
os: [windows-latest, ubuntu-latest, macos-latest, macos-14]
os:
- windows-latest
- ubuntu-latest
- ${{ github.event.inputs.macos-type || 'macos-14'}}
env:
OS: ${{ matrix.os }}
NODE: ${{ matrix.node-version }}
Expand Down

0 comments on commit cd2c270

Please sign in to comment.