fix(ci): build requested release refs consistently
cx
This commit is contained in:
5 files changed
+41
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user