File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 type : boolean
2121 required : false
2222 default : false
23+ macos_only :
24+ description : Only build and upload macOS packages.
25+ type : boolean
26+ default : false
27+ macos_ref :
28+ description : Override the source ref for the macOS package build.
29+ type : string
2330
2431# We do not want a new staging build to run whilst we are releasing the current staging build.
2532# We also do not want multiples to run for the same version.
7481 flags : ' g'
7582
7683 staging-build-images :
84+ if : ${{ !inputs.macos_only }}
7785 needs : staging-build-get-meta
7886 permissions :
7987 contents : read
@@ -129,6 +137,7 @@ jobs:
129137 AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET_STAGING }}
130138
131139 staging-build-generate-matrix :
140+ if : ${{ !inputs.macos_only }}
132141 name : Staging build matrix
133142 runs-on : ubuntu-latest
134143 outputs :
@@ -167,6 +176,7 @@ jobs:
167176 gpg_private_key_passphrase : ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
168177
169178 staging-build-windows-packages :
179+ if : ${{ !inputs.macos_only }}
170180 needs :
171181 - staging-build-get-meta
172182 permissions :
@@ -190,7 +200,7 @@ jobs:
190200 uses : ./.github/workflows/call-build-macos.yaml
191201 with :
192202 version : ${{ needs.staging-build-get-meta.outputs.version }}
193- ref : ${{ inputs.version || github.ref_name }}
203+ ref : ${{ inputs.macos_ref || inputs. version || github.ref_name }}
194204 environment : staging
195205 secrets :
196206 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments