Update dotnet.yml

This commit is contained in:
Andrew
2025-07-23 23:59:28 +03:00
committed by GitHub
parent 2cec004f82
commit 6d790c4581
+7 -7
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 name: .NET
on: on:
@@ -11,18 +8,21 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 8.0.x dotnet-version: 8.0.x
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: dotnet restore Watermark.Net/Watermark.Net/Watermark.Net.sln
- name: Build - name: Build
run: dotnet build --no-restore run: dotnet build Watermark.Net/Watermark.Net/Watermark.Net.sln --no-restore
- name: Test - name: Test
run: dotnet test --no-build --verbosity normal run: dotnet test Watermark.Net/Watermark.Net/Watermark.Net.sln --no-build --verbosity normal