Skip to content

Commit fec5db9

Browse files
authored
use gh workflow run to trigger ios-release (#4089)
1 parent 7ba69ce commit fec5db9

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ios-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ jobs:
216216

217217
- name: Run release
218218
if: github.ref == 'refs/heads/main' && steps.version-file-ios-changed.outputs.any_changed == 'true'
219-
uses: ./.github/workflows/ios-release.yml
219+
env:
220+
GH_TOKEN: ${{ github.token }}
221+
run: gh workflow run ios-release.yml --ref ${{ github.ref }}
220222

221223
ios-build-cmake:
222224
needs: pre_job

.github/workflows/ios-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
type: string
1515
default: ''
1616
description: Version (only for pre-releases)
17-
workflow_call:
1817

1918
jobs:
2019
ios-build-dynamic:

platform/ios/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.23.1-pre0
1+
6.23.1-pre1

0 commit comments

Comments
 (0)