Create dotnet.yml

This commit is contained in:
2024-04-14 21:48:26 +02:00
committed by GitHub
parent 0bc2a9be56
commit 5a7b326dc2

26
.github/workflows/dotnet.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: .NET Core CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Restore dependencies
run: dotnet restore ./Bot/Lunaris2.csproj
- name: Build
run: dotnet build ./Bot/Lunaris2.csproj --no-restore