Skip to content

Commit e27e85a

Browse files
committed
ci: add branch input to cross-compiler workflow
1 parent dd7094e commit e27e85a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build-cross-image.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Build Cross-Compiler Image
33
on:
44
workflow_dispatch:
55
inputs:
6+
branch:
7+
description: 'Branch containing Dockerfile'
8+
required: true
9+
default: 'v3-alpha'
610
sdk_version:
711
description: 'macOS SDK version'
812
required: true
@@ -28,10 +32,10 @@ jobs:
2832
packages: write
2933

3034
steps:
31-
- name: Checkout v3-alpha
35+
- name: Checkout
3236
uses: actions/checkout@v4
3337
with:
34-
ref: v3-alpha
38+
ref: ${{ inputs.branch }}
3539

3640
- name: Set up Docker Buildx
3741
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)