fix(ci): build requested release refs consistently

cx
This commit is contained in:
vicrodh committed 2026-08-28 09:44:25 -06:00
1 parent bf710fb7eb
commit c79a8ab54f
5 files changed
+41 -3

No files matched your search

+11
View File
@@ -40,6 +40,11 @@ on:
description: "x86_64 | aarch64"
required: true
type: string
source_ref:
description: "Optional branch, tag or SHA to build"
required: false
default: ""
type: string
outputs:
version:
description: "Workspace version from crates/Cargo.toml"
@@ -52,6 +57,10 @@ on:
default: x86_64
type: choice
options: [x86_64, aarch64]
source_ref:
description: "Optional branch, tag or SHA to build. Empty = dispatched ref."
required: false
type: string
# The Qt pin. Repository variables win (set QT_VERSION_LINUX in Settings →
# Variables to bump without a commit); the literal is the measured floor.
@@ -71,6 +80,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v7
with:
ref: ${{ inputs.source_ref || github.ref }}
- name: Workspace version
id: version