mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
- CompileSass runs before the compiler creates obj/<cfg>/net10.0, so Touch sass.stamp failed on clean Release publishes (MSB3371). MakeDir fixes it for all branches/pipelines. - Add workflow_dispatch so CI can be run manually on any branch via 'gh workflow run'.
30 lines
638 B
YAML
30 lines
638 B
YAML
# This workflow will build a .NET project
|
|
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
|
|
|
|
name: .NET
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Build
|
|
run: dotnet build Radzen.Blazor/Radzen.Blazor.csproj
|
|
- name: Test
|
|
run: dotnet test Radzen.Blazor.Tests/Radzen.Blazor.Tests.csproj
|