chore(deps): bump androidx.browser:browser from 1.8.0 to 1.10.0 in /platforms/android/samples/MobileBuyIntegration #797
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| # Default token permissions — dorny/paths-filter calls the PR Files API to | |
| # compute the diff, which needs pull-requests: read. contents: read covers | |
| # actions/checkout for both push and pull_request events. | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| # Cancel superseded runs on the same ref (PR pushes, branch updates). | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| changes: | |
| name: Detect Changed Areas | |
| runs-on: ubuntu-latest | |
| outputs: | |
| android: ${{ steps.filter.outputs.android }} | |
| swift: ${{ steps.filter.outputs.swift }} | |
| reactNative: ${{ steps.filter.outputs.reactNative }} | |
| web: ${{ steps.filter.outputs.web }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| id: filter | |
| with: | |
| filters: | | |
| android: | |
| - 'platforms/android/**' | |
| - 'protocol/**' | |
| - '.github/workflows/android-test.yml' | |
| - '.github/workflows/android-license-headers.yml' | |
| - '.github/workflows/ci.yml' | |
| swift: | |
| - 'platforms/swift/**' | |
| - 'protocol/**' | |
| - 'Package.swift' | |
| - 'Package.resolved' | |
| - '.github/workflows/swift-test-package.yml' | |
| - '.github/workflows/swift-build-samples.yml' | |
| - '.github/workflows/swift-test-workflow.yml' | |
| - '.github/workflows/swift-lint.yml' | |
| - '.github/workflows/ci.yml' | |
| reactNative: | |
| - 'platforms/react-native/**' | |
| - 'platforms/swift/**' | |
| - 'platforms/android/**' | |
| - 'protocol/**' | |
| - 'Package.swift' | |
| - 'Package.resolved' | |
| - '.github/workflows/rn-test.yml' | |
| - '.github/workflows/rn-test-android.yml' | |
| - '.github/workflows/rn-test-ios.yml' | |
| - '.github/workflows/rn-build-android.yml' | |
| - '.github/workflows/rn-build-ios.yml' | |
| - '.github/workflows/rn-license-headers.yml' | |
| - '.github/workflows/rn-check-packed-files.yml' | |
| - '.github/workflows/rn-lint.yml' | |
| - '.github/workflows/ci.yml' | |
| web: | |
| - 'platforms/web/**' | |
| - '.github/workflows/web.yml' | |
| - '.github/workflows/web-license-headers.yml' | |
| - '.github/actions/setup/**' | |
| - '.github/workflows/ci.yml' | |
| android-test: | |
| name: Android | |
| needs: changes | |
| if: needs.changes.outputs.android == 'true' | |
| uses: ./.github/workflows/android-test.yml | |
| android-license-headers: | |
| name: Android | |
| needs: changes | |
| if: needs.changes.outputs.android == 'true' | |
| uses: ./.github/workflows/android-license-headers.yml | |
| swift-test-package: | |
| name: Swift | |
| needs: changes | |
| if: needs.changes.outputs.swift == 'true' | |
| uses: ./.github/workflows/swift-test-package.yml | |
| swift-build-samples: | |
| name: Swift | |
| needs: changes | |
| if: needs.changes.outputs.swift == 'true' | |
| uses: ./.github/workflows/swift-build-samples.yml | |
| swift-lint: | |
| name: Swift | |
| needs: changes | |
| if: needs.changes.outputs.swift == 'true' | |
| uses: ./.github/workflows/swift-lint.yml | |
| rn-test: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| uses: ./.github/workflows/rn-test.yml | |
| rn-test-android: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-test-android.yml | |
| rn-test-ios: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-test-ios.yml | |
| rn-build-android: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-build-android.yml | |
| rn-build-ios: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-build-ios.yml | |
| rn-license-headers: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-license-headers.yml | |
| rn-check-packed-files: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-check-packed-files.yml | |
| rn-lint: | |
| name: React Native | |
| needs: changes | |
| if: needs.changes.outputs.reactNative == 'true' | |
| uses: ./.github/workflows/rn-lint.yml | |
| web: | |
| name: Web | |
| needs: changes | |
| if: needs.changes.outputs.web == 'true' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| uses: ./.github/workflows/web.yml | |
| web-license-headers: | |
| name: Web | |
| needs: changes | |
| if: needs.changes.outputs.web == 'true' | |
| uses: ./.github/workflows/web-license-headers.yml | |
| # Single required status check for branch protection. | |
| # Passes when every relevant platform job either succeeded or was skipped | |
| # because no files in that platform's tree changed. | |
| ci-required: | |
| name: CI Required | |
| if: always() | |
| needs: | |
| - changes | |
| - android-test | |
| - android-license-headers | |
| - swift-test-package | |
| - swift-build-samples | |
| - swift-lint | |
| - rn-test | |
| - rn-test-android | |
| - rn-test-ios | |
| - rn-build-android | |
| - rn-build-ios | |
| - rn-license-headers | |
| - rn-check-packed-files | |
| - rn-lint | |
| - web | |
| - web-license-headers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify all upstream jobs succeeded or were skipped | |
| env: | |
| NEEDS_JSON: ${{ toJSON(needs) }} | |
| run: | | |
| echo "Upstream job results:" | |
| echo "$NEEDS_JSON" | jq '.' | |
| failed=$(echo "$NEEDS_JSON" | jq -r ' | |
| to_entries | |
| | map(select(.value.result == "failure" or .value.result == "cancelled")) | |
| | .[].key | |
| ') | |
| if [ -n "$failed" ]; then | |
| echo "::error::Required jobs failed or were cancelled:" | |
| echo "$failed" | sed 's/^/ - /' | |
| exit 1 | |
| fi | |
| echo "All required jobs passed (or were skipped because no relevant files changed)." |