Skip to content

Update validate-90-bwa.yml #7

Update validate-90-bwa.yml

Update validate-90-bwa.yml #7

name: Validate sample apps
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
90_BlazorSample_BlazorWebApp:
- '9.0/BlazorSample_BlazorWebApp'
80_BlazorSample_BlazorWebApp:
- '8.0/BlazorSample_BlazorWebApp'
- name: Checkout
uses: actions/checkout@v4
- name: Get latest .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0'
- name: Restore/build 9.0/BlazorSample_BlazorWebApp
if: steps.filter.outputs.90_BlazorSample_BlazorWebApp == 'true'

Check failure on line 37 in .github/workflows/validate-90-bwa.yml

View workflow run for this annotation

GitHub Actions / Validate sample apps

Invalid workflow file

The workflow is not valid. .github/workflows/validate-90-bwa.yml (Line: 37, Col: 13): Unexpected symbol: '90_BlazorSample_BlazorWebApp'. Located at position 22 within expression: steps.filter.outputs.90_BlazorSample_BlazorWebApp == 'true' .github/workflows/validate-90-bwa.yml (Line: 41, Col: 13): Unexpected symbol: '80_BlazorSample_BlazorWebApp'. Located at position 22 within expression: steps.filter.outputs.80_BlazorSample_BlazorWebApp == 'true'
run: dotnet build 9.0/BlazorSample_BlazorWebApp
- name: Restore/build 8.0/BlazorSample_BlazorWebApp
if: steps.filter.outputs.80_BlazorSample_BlazorWebApp == 'true'
run: dotnet build 8.0/BlazorSample_BlazorWebApp