We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f0104 commit 633bd2eCopy full SHA for 633bd2e
1 file changed
.github/workflows/release-desktop-multi-os.yml
@@ -10,6 +10,10 @@ on:
10
description: "Tag to build and upload (for example: v1.6.1)"
11
required: true
12
type: string
13
+ source_ref:
14
+ description: "Optional build source ref (branch/commit/tag). Defaults to the release tag when omitted."
15
+ required: false
16
+ type: string
17
18
permissions:
19
contents: write
@@ -84,7 +88,7 @@ jobs:
84
88
- name: Checkout repository
85
89
uses: actions/checkout@v5
86
90
with:
87
- ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref }}
91
+ ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.source_ref != '' && github.event.inputs.source_ref || github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref }}
92
fetch-depth: 0
93
lfs: true
94
0 commit comments