Skip to content

Move to GitHub actions #2

Move to GitHub actions

Move to GitHub actions #2

Workflow file for this run

name: .NET
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build ./src/*.sln --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: |
**\\*.nupkg