test: add dynamic macOS version input for DMG build workflow
This commit is contained in:
@@ -3,6 +3,14 @@ name: Build macOS 15 DMG (arm64)
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
macos_version:
|
||||||
|
description: macOS runner version
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- "macos-15"
|
||||||
|
- "macos-26"
|
||||||
|
default: "macos-15"
|
||||||
ref:
|
ref:
|
||||||
description: Git ref to build (branch, tag, or sha)
|
description: Git ref to build (branch, tag, or sha)
|
||||||
required: false
|
required: false
|
||||||
@@ -14,7 +22,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macos-dmg-arm64:
|
build-macos-dmg-arm64:
|
||||||
runs-on: macos-15
|
runs-on: ${{ inputs.macos_version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user