Automatically trigger ios-release.yml when VERSION changes (#4074)
This commit is contained in:
13
.github/workflows/ios-ci.yml
vendored
13
.github/workflows/ios-ci.yml
vendored
@@ -205,6 +205,19 @@ jobs:
|
||||
run: |
|
||||
HOSTING_BASE_PATH="maplibre-native/ios/latest" platform/ios/scripts/docc.sh
|
||||
|
||||
# Trigger release on main if VERSION file changed
|
||||
|
||||
- name: VERSION file changed
|
||||
if: github.ref == 'refs/heads/main'
|
||||
id: version-file-ios-changed
|
||||
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
|
||||
with:
|
||||
files: platform/ios/VERSION
|
||||
|
||||
- name: Run release
|
||||
if: github.ref == 'refs/heads/main' && steps.version-file-ios-changed.outputs.any_changed == 'true'
|
||||
uses: ./.github/workflows/ios-release.yml
|
||||
|
||||
ios-build-cmake:
|
||||
needs: pre_job
|
||||
runs-on: macos-14
|
||||
|
||||
1
.github/workflows/ios-release.yml
vendored
1
.github/workflows/ios-release.yml
vendored
@@ -14,6 +14,7 @@ on:
|
||||
type: string
|
||||
default: ''
|
||||
description: Version (only for pre-releases)
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
ios-build-dynamic:
|
||||
|
||||
Reference in New Issue
Block a user