From 9ad62086b3fb455194402395b6ca1fc40ca25aa5 Mon Sep 17 00:00:00 2001
From: zotya0601 <Zoleee@protonmail.com>
Date: Sat, 2 Dec 2023 19:46:33 +0100
Subject: [PATCH] Create dotnet.yml

---
 .github/workflows/dotnet.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 .github/workflows/dotnet.yml

diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
new file mode 100644
index 0000000..a1113bc
--- /dev/null
+++ b/.github/workflows/dotnet.yml
@@ -0,0 +1,23 @@
+name: .NET
+
+on:
+  push:
+    branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v3
+    - name: Setup .NET
+      uses: actions/setup-dotnet@v3
+      with:
+        dotnet-version: 6.0.124
+    - name: Restore dependencies
+      run: dotnet restore
+    - name: Build
+      run: dotnet build --no-restore
-- 
GitLab