Skip to content

Commit 3d0dcb2

Browse files
committed
Merge branch 'wsun/create-runway-rc-ios-workflow' into release/test-runway-rc-ios-workflow
2 parents e9e983c + 549c65a commit 3d0dcb2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
type: boolean
1515
default: false
1616
source_branch:
17-
description: 'Branch, tag, or SHA to build'
17+
description: 'Branch, tag, or SHA for version bump and prepare checkout. When non-empty, takes precedence over ref.'
1818
required: false
1919
type: string
2020
default: ''
@@ -65,7 +65,7 @@ jobs:
6565
contents: write
6666
id-token: write
6767
with:
68-
base-branch: ${{ inputs.source_branch != '' && inputs.source_branch || github.ref_name }}
68+
base-branch: ${{ inputs.source_branch != '' && inputs.source_branch || inputs.ref != '' && inputs.ref || github.ref_name }}
6969
secrets:
7070
PR_TOKEN: ${{ secrets.PR_TOKEN }}
7171

@@ -80,12 +80,12 @@ jobs:
8080
signing_aws_role: ${{ steps.config.outputs.signing_aws_role }}
8181
signing_aws_secret: ${{ steps.config.outputs.signing_aws_secret }}
8282
signing_android_keystore_path: ${{ steps.config.outputs.signing_android_keystore_path }}
83-
checkout_ref_for_setup: ${{ !inputs.skip_version_bump && needs.update-build-version.outputs.commit-hash || (inputs.source_branch != '' && inputs.source_branch || github.ref_name) }}
83+
checkout_ref_for_setup: ${{ !inputs.skip_version_bump && needs.update-build-version.outputs.commit-hash || (inputs.source_branch != '' && inputs.source_branch || inputs.ref != '' && inputs.ref || github.ref_name) }}
8484
steps:
8585
- uses: actions/checkout@v4
8686
with:
8787
fetch-depth: 0
88-
ref: ${{ !inputs.skip_version_bump && needs.update-build-version.outputs.commit-hash || (inputs.source_branch != '' && inputs.source_branch || github.ref_name) }}
88+
ref: ${{ !inputs.skip_version_bump && needs.update-build-version.outputs.commit-hash || (inputs.source_branch != '' && inputs.source_branch || inputs.ref != '' && inputs.ref || github.ref_name) }}
8989
- name: Setup Node.js
9090
uses: actions/setup-node@v4
9191
with:

0 commit comments

Comments
 (0)