Skip to content

Update dotnet.yml work please #4

Update dotnet.yml work please

Update dotnet.yml work please #4

Workflow file for this run

# 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
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 7.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- name: Restore dependencies
run: dotnet restore NeaServer.sln
- name: Build
run: dotnet build NeaServer.sln --no-restore
- name: Test
run: dotnet test NeaServer.sln --no-build --verbosity normal
- uses: actions/upload-artifact@v3
with:
name: Server Build
path: bin\Release\net7.0\*.exe