mirror of
https://gitee.com/blazorcomponent/MASA.Blazor.git
synced 2025-12-06 10:19:23 +08:00
36 lines
706 B
YAML
36 lines
706 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- docs/**
|
|
- src/**
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
pr:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: git pull
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: 'recursive'
|
|
- run: git submodule foreach git checkout main
|
|
- name: setting dotnet
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: |
|
|
6.0.x
|
|
7.0.x
|
|
8.0.x
|
|
9.0.x
|
|
include-prerelease: true
|
|
- name: setting tools
|
|
run: dotnet workload install wasm-tools
|
|
- name: check tools
|
|
run: dotnet workload list
|
|
- name: build
|
|
run: dotnet build Masa.Blazor.sln
|