Update dotnet.yml

This commit is contained in:
Andrew
2025-07-23 23:59:28 +03:00
committed by GitHub
parent 2cec004f82
commit 6d790c4581

View File

@@ -1,6 +1,3 @@
# 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:
@@ -11,18 +8,21 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
run: dotnet restore Watermark.Net/Watermark.Net/Watermark.Net.sln
- name: Build
run: dotnet build --no-restore
run: dotnet build Watermark.Net/Watermark.Net/Watermark.Net.sln --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test Watermark.Net/Watermark.Net/Watermark.Net.sln --no-build --verbosity normal