Fix automated iOS release (#4335)
This commit is contained in:
9
.github/workflows/ios-ci.yml
vendored
9
.github/workflows/ios-ci.yml
vendored
@@ -291,6 +291,11 @@ jobs:
|
||||
|
||||
# Trigger release on main if VERSION file changed
|
||||
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: VERSION file changed
|
||||
if: github.ref == 'refs/heads/main'
|
||||
id: version-file-ios-changed
|
||||
@@ -298,10 +303,6 @@ jobs:
|
||||
with:
|
||||
files: platform/ios/VERSION
|
||||
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Run release
|
||||
if: github.ref == 'refs/heads/main' && steps.version-file-ios-changed.outputs.any_changed == 'true'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user