Bring back removed script, make sure CI runs on deleted files (#2171)
This commit is contained in:
2
.github/workflows/android-ci.yml
vendored
2
.github/workflows/android-ci.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
pre_job:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files.outputs.android_any_changed != 'true' }}
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files.outputs.android_any_modified != 'true' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
4
.github/workflows/ios-ci.yml
vendored
4
.github/workflows/ios-ci.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
pre_job:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files-yaml.outputs.ios_any_changed != 'true' }}
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files-yaml.outputs.ios_any_modified != 'true' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
files_yaml_from_source_file: .github/changed-files.yml
|
||||
|
||||
- name: Run step if test file(s) change
|
||||
if: steps.changed-files-yaml.outputs.ios_any_changed == 'true'
|
||||
if: steps.changed-files-yaml.outputs.ios_any_modified == 'true'
|
||||
run: |
|
||||
echo "One or more iOS file(s) has changed."
|
||||
echo "List of changes: ${{ steps.changed-files-yaml.outputs.ios_all_changed_files }}"
|
||||
|
||||
4
.github/workflows/linux-ci.yml
vendored
4
.github/workflows/linux-ci.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
pre_job:
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files.outputs.linux_any_changed != 'true' }}
|
||||
should_skip: ${{ github.event_name != 'workflow_dispatch' && steps.changed-files.outputs.linux_any_modified != 'true' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
files_yaml_from_source_file: .github/changed-files.yml
|
||||
|
||||
- name: List changed files
|
||||
if: steps.changed-files.outputs.linux_any_changed == 'true'
|
||||
if: steps.changed-files.outputs.linux_any_modified == 'true'
|
||||
run: |
|
||||
echo "Changed file(s): ${{ steps.changed-files.outputs.linux_all_changed_files }}"
|
||||
|
||||
|
||||
2
.github/workflows/pr-linux-tests.yml
vendored
2
.github/workflows/pr-linux-tests.yml
vendored
@@ -164,7 +164,7 @@ jobs:
|
||||
|
||||
- name: Run Benchmarks
|
||||
# excluding the API tests because they hang https://github.com/maplibre/maplibre-native/issues/1808
|
||||
run: python3 vendor/benchmark/tools/compare.py --no-color benchmarks ./mbgl-benchmark-runner-main mbgl-benchmark-runner --benchmark_filter='^[^A][^P][^I].*' > benchmark_out.txt
|
||||
run: python3 vendor/benchmark/tools/compare.py --no-color benchmarks ./mbgl-benchmark-runner-main ./mbgl-benchmark-runner --benchmark_filter='^[^A][^P][^I].*' > benchmark_out.txt
|
||||
|
||||
- name: Configure AWS Credentials
|
||||
if: github.ref == 'refs/heads/main' && vars.OIDC_AWS_ROLE_TO_ASSUME
|
||||
|
||||
Reference in New Issue
Block a user