Upgrade Website to React Native Windows 0.80, Add New Architecture Property Support, and Migration Guide #674
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: PR | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| defaults: | |
| run: | |
| shell: pwsh | |
| jobs: | |
| setupcheck: | |
| name: Setup Check | |
| runs-on: ubuntu-latest | |
| outputs: | |
| # These outputs must be set otherwise the dependent jobs won't have access to them | |
| app-service-demo: ${{ steps.filter.outputs.app-service-demo }} | |
| calculator: ${{ steps.filter.outputs.calculator }} | |
| calculator-experimental: ${{ steps.filter.outputs.calculator-experimental }} | |
| native-module-sample: ${{ steps.filter.outputs.native-module-sample }} | |
| website: ${{ steps.filter.outputs.website }} | |
| workflows: ${{ steps.filter.outputs.workflows }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| # This task is to calculate which projects/paths had file changes | |
| # Project builds can be skipped in PR if no files changed | |
| # Changes to the "workflow" files should make projects build | |
| - uses: dorny/paths-filter@v2 | |
| id: filter | |
| with: | |
| filters: | | |
| calculator: | |
| - '.github/workflows/template-buildsample.yml' | |
| - 'samples/Calculator/**' | |
| native-module-sample: | |
| - '.github/workflows/template-buildsample.yml' | |
| - 'samples/NativeModuleSample/**' | |
| website: | |
| - '.github/workflows/template-buildwebsite.yml' | |
| - 'docs/**' | |
| - 'website/**' | |
| workflows: | |
| - '.github/workflows/ci.yml' | |
| - '.github/workflows/pr.yml' | |
| call-buildsample-calculator: | |
| name: Build Calculator | |
| needs: setupcheck | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| sampleName: ['Calculator\cppwinrt', 'Calculator\csharp', Calculator\fabric] | |
| configuration: ['Debug', 'Release'] | |
| platform: ['x86'] | |
| uses: ./.github/workflows/template-buildsample.yml | |
| with: | |
| sampleName: ${{ matrix.sampleName }} | |
| configuration: ${{ matrix.configuration }} | |
| platform: ${{ matrix.platform }} | |
| skipBuild: ${{ needs.setupcheck.outputs.workflows != 'true' && needs.setupcheck.outputs.calculator != 'true' }} # Skip if files haven't changed | |
| call-buildsample-native-module-sample: | |
| name: Build Native Module Sample | |
| needs: setupcheck | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| sampleName: ['NativeModuleSample\cpp-lib'] | |
| configuration: ['Debug', 'Release'] | |
| platform: ['x86'] | |
| uses: ./.github/workflows/template-buildsample.yml | |
| with: | |
| sampleName: ${{ matrix.sampleName }} | |
| configuration: ${{ matrix.configuration }} | |
| platform: ${{ matrix.platform }} | |
| # runCodeGenCheck: true # Enable once we get https://github.com/microsoft/react-native-windows/pull/11187 (Maybe 0.72?) | |
| extraRunWindowsArgs: --no-autolink --no-deploy | |
| skipBuild: ${{ needs.setupcheck.outputs.workflows != 'true' && needs.setupcheck.outputs.native-module-sample != 'true' }} # Skip if files haven't changed | |
| call-buildwebsite: | |
| name: Build Website | |
| needs: setupcheck | |
| uses: ./.github/workflows/template-buildwebsite.yml | |
| with: | |
| skipBuild: ${{ needs.setupcheck.outputs.workflows != 'true' && needs.setupcheck.outputs.website != 'true' }} # Skip if files haven't changed | |
| prcheck: | |
| name: Successful PR Check | |
| runs-on: ubuntu-latest | |
| needs: [setupcheck, call-buildsample-calculator, call-buildsample-native-module-sample, call-buildwebsite] | |
| steps: | |
| - uses: actions/checkout@v3 |